Hi,
I'm looking for a way, to identify a boost::thread from inside the thread. The background is, that I want to log into a global logger, which has to know from which thread the message was sent.
I have thought at using the pointer of the class as an identifier, but that won't work if two threads are from the same class. Maybe it is possible to save a pointer to the member methods???
Kind Regards
Torsten