DSPRelated.com
Forums

POSIX pthread_cond_wait y pthread_cond_signal under DSP/BIOS

Started by "Manuel E. Cotallo Torres" January 22, 2007
Hi,

Im implementing a posix level over DSP/BIOS.
Next concern we've got is the implementation of pthread_cond_wait and
pthread_cond_signal.

Any ideas?
Seems that i have to have a queue of sleeping threads in one mutex until
a condition comes true, then unlock the mutex, and in the meanwhile, the
main routine must be polling for the condition to be true, and mark for
wake up those who are ready.

Any has a clue to improve this big mess?
Thanx !