[c++0x] prototype <mutex> implementation

Pedro Lamarão pedro.lamarao@mndfck.org
Wed Mar 19 03:50:00 GMT 2008


Attached is an implementation of <mutex> based on pthreads.

Does it make sense?

 From building GCC from source I'm aware that a build without pthread 
support is possible.

How should we deal with this in the thread library?
Should we #error out?

--
  P.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mutex.hpp
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080319/8e5f0f3a/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mutex.cpp
Type: text/x-c++src
Size: 636 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080319/8e5f0f3a/attachment.bin>


More information about the Libstdc++ mailing list