[PATCH, v3] Bringing <mutex> and <condition_variable> up to spec.

Chris Fairles chris.fairles@gmail.com
Tue Jul 22 22:20:00 GMT 2008


Attached patch brings <mutex> and <condition_variable> up to spec
(n2691 WD) given that <chrono> is now in.

I included stubs for timed_mutex and timed_recursive_mutex but when I
went to attempt a basic implementation I noticed that the gthread API
doesn't include pthread_mutex_timedlock and/or pthread_cond_timedwait
if they're available. Should it?

Other general questions,
Is the thread API in the current working draft stable enough to
complete the implementation?
Are there required additions/changes to backend thread-support code
(like gthreads)?

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Changelog_thread.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080722/0ae4ee8c/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: thread_chrono_patch.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080722/0ae4ee8c/attachment-0001.txt>


More information about the Libstdc++ mailing list