[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Win32 Conditional support
From: |
Scott Stanton |
Subject: |
RE: Win32 Conditional support |
Date: |
Thu, 29 Aug 2002 13:21:06 -0700 |
> With this I do not want to say using pthreads-win32 is a bad idea,
>but I think it would be simpler to implement Conditional with just
>Win32 system calls.
Fair enough. It is instructive to look at the implementation of
condition variables in the pthreads-win32 sources. There are some
tricky subtleties in correctly implementing the semantics of condition
variables. It's easy to make something that seems to work but results
in intermittent dropped signals, fairness problems, etc.