apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: Win32 condition variable rewrite
Date Fri, 27 Jun 2003 06:38:33 GMT
Hm, I found one problem with both my reimplementations, and this problem
existed in the original implementation, too: there's a race at the point
where the associated mutex is released and before the thread starts
waiting for the trigger event. IIRC, POSIX promises this will be atomic.
I'm not sure how to fix this, short of reverting to some sort of
manual-reset model for the event.

Have to think about this a bit.

Brane ─îibej   <brane@xbc.nu>   http://www.xbc.nu/brane/

View raw message