
Is there a boost method which does it? I went through the whole thread documention but could not figure out how to do so.

marie-line.gentil2 wrote:
Is there a boost method which does it? I went through the whole thread documention but could not figure out how to do so.
The thread class's default constructor will create a thread object representing the current thread. But there is no way in Boost.Thread to get the thread ID of any thread, because this is a system-specific operation, with system-specific types. Sebastian Redl

To create a global table or map that does things by a sense of thread identity, say. On May 16, 2006, at 2:44 PM, Roland Schwarz wrote:
marie-line.gentil2 wrote:
Is there a boost method which does it? I went through the whole thread documention but could not figure out how to do so. Why would you want a thread id? Roland
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (5)
-
marie-line.gentil2
-
Roland Schwarz
-
Sebastian Redl
-
Thomas Costa
-
Vladimir Prus