Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread and exception
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-12 14:37:38


AMDG

Janne Kätevä wrote:
> I have noticed that on Ubuntu my code that uses Boost Threads works
> fine when I throw exceptions (for example strings) and catch them in
> the same thread. But this doesn't seem to work on Windows XP with
> Mingw gcc 3.4.5. If I throw a exception in thread, the program
> crashes. Is there some known problem with Boost Thread and Mingw? I'm
> using Boost 1.37.

Are you compiling everything with -mthreads?
If not you need to.

In Christ,
Steven Watanabe


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