thread (this_thread::get_id): Inline.
2009-02-08 Chris Fairles <cfairles@gcc.gnu.org> * include/std/thread (this_thread::get_id): Inline. From-SVN: r144029
This commit is contained in:
parent
7a4fbffcb2
commit
4a50cd932f
@ -1,3 +1,7 @@
|
||||
2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
|
||||
|
||||
* include/std/thread (this_thread::get_id): Inline.
|
||||
|
||||
2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
|
||||
|
||||
* include/std/thread (thread<>::thread(_Callable)): Explicitly use
|
||||
|
@ -239,7 +239,7 @@ namespace std
|
||||
// 30.2.2 Namespace this_thread.
|
||||
namespace this_thread
|
||||
{
|
||||
thread::id
|
||||
inline thread::id
|
||||
get_id() { return thread::id(__gthread_self()); }
|
||||
|
||||
#ifdef _GLIBCXX_USE_SCHED_YIELD
|
||||
|
Loading…
x
Reference in New Issue
Block a user