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!