On 11/04/2013 11:02 PM, Rickard Bäckman wrote:
On Apr 11, 2013, at 2:39 PM, David Holmes wrote:
So what did you mean about pthread_semaphore (what is that anyway?) ??

Never mind, pthread condition variables.

Ah I see.


I really, really, really don't like seeing three versions of this class :( 
Can't BSD and Linux at least share a POSIX version? (And I wonder if we can 
actually mix-n-match UI threads on Solaris with POSIX semaphores on Solaris?)

I don't like it either, our OS code isn't really helpful when it comes do reusing 
things :) Not sure how I would layout things to make them only available on BSD (Not 
Mac) and Linux. I guess os_posix.hpp with lots of #ifdefs, but I'm not sure I"m 
feeling that happy about that.

Why would the os_posix version need a lot of ifdefs?

Do we really have four versions:
- linux (posix)
- BSD (posix)
- Solaris
- Mac (different to BSD?)

??

David
-----

Reply via email to