[cpp-threads] Asynchronous Function Proposal (aside)

Boehm, Hans hans.boehm at hp.com
Mon Jun 8 22:49:46 BST 2009


> From:  Anthony Williams
> 
> You can detect thread reuse with std::this_thread::get_id() 
> as well as with thread-locals. But the thread-locals is the 
> major issue.
> 
> Anthony

I'm not sure.  Thread id's can be reused 30.2.1.1[thread.thread.id]p1 .

Hans


More information about the cpp-threads mailing list