ISTR that when I tried to use boost.threads in the past on Win98, I encountered problems with the TSS code as well - with MSVC. I didn't see
the
page faults since a catch(...) handler on MSVC eats them but the results were worse than that - the machine locked up in about half of the cases, in the other half the thread that faulted died without warning.
I haven't seen that.
I think that it's possible that the problem is not gcc-specific. Note that both your successes use pthreads-win32, not the native win32 implementation of Boost.Threads.
the tests run fine using the win32 threads API as well (at least for me), the reason I used pthreads-win32 was to make the tests more directly comparable to cygwin (which has it's own pthreads API). - John Maddock http://ourworld.compuserve.com/homepages/john_maddock/