This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: (g++) program crashes when I throw an exception in a separate thread
- From: Greg Chicares <gchicares at sbcglobal dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 23 Jul 2009 00:22:18 +0000
- Subject: Re: (g++) program crashes when I throw an exception in a separate thread
- References: <20090722200521.zftez7gasggsk0gw@webmail.mit.edu>
On 2009-07-23 00:05Z, Joshua John Bialkowski wrote:
>
> I'm using g++ (GCC) version 3.4.4 from the cygwin installer, and I've run in to
> this very confusing problem. I'm compiling with the -mno-cygwin option
[...]
> The problem I have is that when I launch a separate thread, and then throw an
> exception in that separate thread, my program will crash... even if I catch
> that exception.
Are you compiling with '-mthreads'?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple