|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-11-03 09:29:26
Roland Schwarz wrote:
> Peter Dimov wrote:
>> There is also the option of implementing pthread_rwlock_* on Windows,
>> keeping the higher layer platform-independent. This obviously
>> requires a higher layer that agrees with the pthread_rwlock_*
>> interface.
>
> Sorry, but I am not sure If I understand what you mean.
> Do you mean the windows version should be implemented on top of
> pthread?
I meant that one way to handle the differences between Windows and
everything else is to implement the C++ layer on top of pthread_* calls,
then implement the necessary pthread_* calls on Windows. Something like
Boost.Pthread-Win32, but possibly less complete.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk