diff options
| author | Jonathan Wakely <jwakely@redhat.com> | 2015-12-04 17:32:40 +0000 |
|---|---|---|
| committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-12-04 17:32:40 +0000 |
| commit | 755be51d0266bc008def4de484cc9c7803283d69 (patch) | |
| tree | 497aba097b51602810d2e63632cc24a664634e0f /gcc/cgraph.c | |
| parent | 586cdac8e5af3fff142829e579558f8728e56f81 (diff) | |
| download | gcc-755be51d0266bc008def4de484cc9c7803283d69.zip gcc-755be51d0266bc008def4de484cc9c7803283d69.tar.gz gcc-755be51d0266bc008def4de484cc9c7803283d69.tar.bz2 | |
PR libstdc++/57060 cope with invalid thread IDs
PR libstdc++/57060
* include/std/thread (operator==(thread::id, thread::id)): Do not use
__gthread_equal.
(operator<(thread::id, thread::id)): Add comment.
(this_thread::get_id()): Do not use __gthread_self for single-threaded
programs using glibc.
* testsuite/30_threads/this_thread/57060.cc: New.
From-SVN: r231289
Diffstat (limited to 'gcc/cgraph.c')
0 files changed, 0 insertions, 0 deletions
