My Project
|
Public Attributes | |
MMAL_WAITER_T | waiters [MAX_WAITERS] |
VCOS_SEMAPHORE_T | sem |
We have an array of waiters and allocate them to waiting threads. They can be released back to the pool in any order. If there are none free, the calling thread will block until one becomes available.