OS_Bsem_Wait (bsem)
Wait for binary semaphore.
Only in task
bsem
nothing
void Task (void) { for (;;) { /*...*/ OS_Bsem_Wait(5); // Wait for binary semaphore #5 /*...*/ } }
OS_WaitBSem
For english spoken users http://www.pic24.ru
2008 © Alex B.