Re: thread lockup when comiling with optimizations.
From: Andre Kostur (nntpspam_at_kostur.net)
Date: Tue, 21 Sep 2004 21:47:09 GMT
Patrick Stinson <email@example.com> wrote in
> I've added an extra thread to my application read from an alsa midi
> device, and when I compile with any optimizations (gcc -O3 or gcc -O2)
> the application "freezes" (meaning I don't know what code is still
> executing) after the last of my threads (I have three, including the
> main thread).
> This does not happen w/o optimizations.
You're in the wrong place. Comp.lang.c++ deals with Standard C++, which
has no concept of threading. Try in a newsgroup dedicated to your compiler
vendor and/or O/S platform.