Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.36 Threads/ASIO causing SEGV when cleaning up thread specific storage
From: spiderlama (spiderlama_at_[hidden])
Date: 2008-09-18 20:13:24


Ok found the solution. It seems that the (initial threads)
thread_exit_callback is being called AFTER the TSS's built in heap has been
cleaned. Talk about dangling pointers!

This can be fixed by declaring a static tss variable in your class :-D

cheers,
spider.

-- 
View this message in context: http://www.nabble.com/1.36-Threads-ASIO-causing-SEGV-when-cleaning-up-thread-specific-storage-tp19428245p19564018.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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