core spinlock wait returns immediately
Andrei Dimitrief-Jianu
andrei.dimitrief.jianu at gmail.com
Thu Oct 11 03:59:27 UTC 2012
Hello,
I initialize a core spinlock using the code below:
CORE_spinlock_Attributes spinlock_attributes;
spinlock_attributes.XXX = 0;
_CORE_spinlock_Initialize( &spinlock, &spinlock_attributes );
When calling wait() on the same spinlock from a worker task using the
code below, the task returns w/o waiting for the spinlock to be
released.
CORE_spinlock_Status spinlock_status;
spinlock_status = _CORE_spinlock_Wait( &spinlock, true, 0 );
Anything that is obvious that I am doing wrong?
Thanks!
More information about the devel
mailing list