Programming problem with POSIX threads and stdout
Brian Ford
ford@vss.fsi.com
Wed Sep 29 16:31:00 GMT 2004
On Wed, 29 Sep 2004, Mauro Brunato wrote:
> The following has probably already been noticed by someone,
Yup.
> but I could not find any reference (at least, comprehensible to me), so
> I apologize if my problem has already been taken care of.
How 'bout this thread?:
http://cygwin.com/ml/cygwin/2004-09/msg01292.html
> Consider the following code:
[snip]
> I also tried putting debug or optimization flags (-g, -O, -O2) and put an
> explicit "-lpthread" at the end, with no luck.
-lpthread is not needed on Cygwin. The pthreads code is part of the
cygwin dll.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list