Files
OpenCellular/include
Vincent Palatin 16e43a3d0d Initial mutex implementation
They are designed to protect shared hardware resources (e.g. I2C
controller).
Please refrain using them as a general purpose synchronization primitive
for the tasks to avoid unintended slippery effects (e.g. priority inversion),
use the provided message-passing functions instead for that purpose.

The mutex variable (ie the "struct mutex") should be initially filled
with 0, but this is the default compiler behavior if you declare it as a
global variable.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST=make qemu-tests

Change-Id: I328f7eadf5257560944dbbbeda0b99d5b24520e8
2012-01-25 18:23:48 +00:00
..
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-13 10:34:09 -08:00
2011-12-08 16:18:20 -08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-11 11:37:55 -08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-12 14:12:09 -08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-25 18:23:48 +00:00
2012-01-25 18:23:48 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-12 14:12:09 -08:00
2012-01-19 10:54:37 +08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-17 12:19:47 -08:00