This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65704] New: Provide portable versions of std::timed_mutex and std::recursive_timed_mutex
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Apr 2015 19:37:22 +0000
- Subject: [Bug libstdc++/65704] New: Provide portable versions of std::timed_mutex and std::recursive_timed_mutex
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65704
Bug ID: 65704
Summary: Provide portable versions of std::timed_mutex and
std::recursive_timed_mutex
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Currently we don't define std::timed_mutex and std::recursive_timed_mutex
unless the POSIX Timeouts option (_POSIX_TIMEOUTS) is supported. At least
Darwin doesn't support that option.
We should provide portable versions based on a std::mutex and
std::condition_variable::wait_until().