G
Guest
I've got an application that uses Pthread to do threading. Mostly Im using
Condition Variables and the associated function calls:
- pthread_cond_wait()
- pthread_cond_signal()
- pthread_cond_broadcast()
My boss says we cant use Pthread because of licensing issues (LGPL) .. we
can only use Native Win32 threading/mutex functions.
Question: Does anyone out there have any suggestion on how to implement
Condition Variables with Native Win32 functions?
I researched this in the web, but the only thing I could find (besides
PThread) was the function PulseEvent ... but the MS documentation says that
function is not reliable and should not be used.
Thanks in advance for any help,
neal
Condition Variables and the associated function calls:
- pthread_cond_wait()
- pthread_cond_signal()
- pthread_cond_broadcast()
My boss says we cant use Pthread because of licensing issues (LGPL) .. we
can only use Native Win32 threading/mutex functions.
Question: Does anyone out there have any suggestion on how to implement
Condition Variables with Native Win32 functions?
I researched this in the web, but the only thing I could find (besides
PThread) was the function PulseEvent ... but the MS documentation says that
function is not reliable and should not be used.
Thanks in advance for any help,
neal