aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2009-01-29 23:24:05 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2009-01-29 23:24:05 +0000
commitcbdab9c897d52b8311979a1e31e41d248671a4cb (patch)
tree7d1482ccf71102b2e07f20bbe2ac2e2aa38e6c60 /gcc
parent3631be4865f1942115b43d7f30a232a6cfb9c4b8 (diff)
downloadgcc-cbdab9c897d52b8311979a1e31e41d248671a4cb.zip
gcc-cbdab9c897d52b8311979a1e31e41d248671a4cb.tar.gz
gcc-cbdab9c897d52b8311979a1e31e41d248671a4cb.tar.bz2
thread: Remove unused headers.
2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/thread: Remove unused headers. (__thread_data_base): Remove unused mutex and base. (thread::~thread): Only detach if joinable. (thread::joinable): Test if thread data ptr is empty. (thread::_M_thread_data_mutex): Remove. (thread::_M_get_thread_data): Remove. (thread::_M_make_thread_data): Remove overload, use make_shared. (thread::id::id): Make constructor explicit. * src/thread.cc (thread::join,thread::detach): Throw if not joinable. (thread::_M_start_thread): Break shared_ptr cycle on error. (__thread_proxy): Use shared_ptr swap instead of copy and reset. * testsuite/30_threads/thread/member/4.cc: New. * testsuite/30_threads/thread/member/5.cc: New. From-SVN: r143772
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions