Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-11-03 09:56:55


"Peter Dimov" <pdimov_at_[hidden]> writes:

> 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.

IMO, that is one abstraction layer too many, and gives us less flexibility in
how to implement things on Windows.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk