
3 Nov
2006
3 Nov
'06
2:29 p.m.
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.