This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: g++ 3.4.4, mingw32, exceptions and threads

On 22 June 2006 19:34, kenelson8 wrote:

> I am having problems getting exceptions to work properly in
> the latest release of g++ distributed from cygwin.   I have a multithreaded
> code which is built using the no-cygwin option.

  What part of 'no cygwin' don't you get?   ;)

  If there's a bug in mingw, you should raise it on a mingw mailing list.
Discussing it here would be as much of a waste of time as discussing it on an
MSVC mailing list.

> This is obviously a case where

  You know what they say about what happens if you assume ...

> I have included an example below.  It appears to work without the
> -mno-cygwin option.  

  So, as far as the cygwin mailing list is concerned, this is to report that
there is /no/ bug?  Thanks for that!

> int main() {
>   thread_=::CreateThread(NULL,0, (LPTHREAD_START_ROUTINE) thread_go, 0, 0,

  You're actually fairly lucky that it works when you go mixing random
win32-isms into a Cygwin app like that; you should be using pthread functions
to spawn threads under cygwin.

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]