[thread] Bug sprint #3097 throwing destructor

22 Nov
2009
22 Nov
'09
7:01 p.m.
Ticket Description: thread::detach() and thread::~thread() could throw thread_resource_error while locking thread_info_mutex. Currently it is on windows only. Hi Anthony, A simple reading of the current code let me think that this bug has been solved. thread::~thread() { detach(); } void thread::detach() { release_handle(); } void thread::release_handle() { lock_guard<mutex> l1(thread_info_mutex); thread_info=0; } Do you agree? Best, Vicente -- View this message in context: http://old.nabble.com/-thread--Bug-sprint--3097-throwing-destructor-tp264673... Sent from the Boost - Dev mailing list archive at Nabble.com.
5682
Age (days ago)
5682
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vicente Botet Escriba