[thread] Getting the current thread object

Is there a call to get the current running thread object? (e.g. boost::this_thread::instance()). I think some older boost release had the ability to get the current thread via the default constructor (prior to 1.34). Arnold

Functions for accessing the current thread state are located in the "this_thread" namespace. terry ----- Original Message ----- From: Postal Peon Newsgroups: gmane.comp.lib.boost.user To: boost-users@lists.boost.org Sent: Wednesday, May 19, 2010 5:02 PM Subject: [thread] Getting the current thread object Is there a call to get the current running thread object? (e.g. boost::this_thread::instance()). I think some older boost release had the ability to get the current thread via the default constructor (prior to 1.34). Arnold ------------------------------------------------------------------------------ _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Postal Peon
-
Terry Golubiewski