atomic_futex.h: Use mutex and condition_variable when atomic int is not lock-free.
authorJonathan Wakely <jwakely@redhat.com>
Sun, 18 Jan 2015 14:25:22 +0000 (14:25 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 18 Jan 2015 14:25:22 +0000 (14:25 +0000)
commit87361f3098d399531bc329b2ad71f6a530742567
tree5d05b401b06caecf052d80d415985a05f47ea18a
parente207c522623c3d3620416b5332b8a6d8644a1f06
atomic_futex.h: Use mutex and condition_variable when atomic int is not lock-free.

* include/bits/atomic_futex.h: Use mutex and condition_variable when
atomic int is not lock-free. Make member variables private.
* src/c++11/futex.cc: Likewise.

From-SVN: r219815
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_futex.h
libstdc++-v3/src/c++11/futex.cc