* include/std/thread (this_thread::get_id): Inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144029
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
// 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