Boost logo

Boost Users :

Subject: [Boost-users] [thread] Obtaining thread id on Windows
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2009-09-09 15:08:26


I'm using Boost.Thread to create a thread that process the message queue
on Windows. In order to send it a message via PostThreadMessage I need a
thread id rather than a handle. Is there a way to obtain the native
thread id from a boost::thread ? If not, any help on how to patch my
local copy of the library? There is no documented way of getting a
thread id from a thread handle in Windows XP.

Thank you.

Agustín K-ballo Bergé.-


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net