[v3] __native_type typedefs, condition_variable, typesize

Benjamin Kosnik bkoz@redhat.com
Tue Feb 10 08:19:00 GMT 2009


Adds consistent private __native_type typedefs for
mutex/condition_variable, makes the current ones private.

For std::condition_variable, there is an extra mutex data object that is
superfluous, as it is used only in notify_one/notify_all member
functions, which call pthread_cond_signal/broadcast, which do not need
to be locked. So, removed.

Adds some type/native_type compares to the testsuite.

tested x86_64/linux

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090209-2.patch
Type: text/x-patch
Size: 46315 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090210/0dbc4184/attachment.bin>


More information about the Libstdc++ mailing list