in reply to Re^14: baton passing threads and cond_signal
in thread baton passing threads and cond_signal

The first problem is that I've been playing with the cond_* apis for quite a while now and basically, they do not seem to work properly. As best as I can assertain. But there are precious few examples of their use (from Perl) as far as I can find.

The second problem is that I am using emulations of those APIs rather than the real thing, so it's not clear to me whether the problems I have had are down to the APIs themselves, the Win32 emulations, or just the sparsity of documentation and my (lack of) understanding of how to use them.

The piece of the OPs puzzle that is still missing is: does the hang that occurs on single-cpu Win32 also happen on single-cpu Linux? Conversely, does the hang not happen on multi-cpu Win32?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^15: baton passing threads and cond_signal