apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From malc <m...@pulsesoft.com>
Subject locks/win32/thread_cond.c
Date Tue, 01 Jun 2004 18:02:31 GMT
Hello,

I have a couple of question regarding win32 condition variables
implementation.

a. If i am reading the code correctly once apr_thread_cond_broadcast was
   used cond->signal_all gets set to 1, and even if i later decide to use
   signal i will still get broadcast semantics (since nobody resets
   signal_all to zero)

b. In apr_thread_cond[_timed]_wait cond->mutex and mutex are reset
   multiple times, why?

c. Return codes of nearly all win32 API calls are not being checked,
   lazyness?

Sincerely,
malc

-- 
mailto:malc@pulsesoft.com

Mime
View raw message