delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/14/04:35:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BF23A9A.5A9F35E0@cern.ch>
Date: Wed, 14 Nov 2001 10:34:18 +0100
From: "Lassi A. Tuura" <lassi DOT tuura AT cern DOT ch>
Organization: Northeastern University, Boston, USA
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Evan Pollan <evan_pollan AT yahoo DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: pthread_create -- no callback?
References: <20011113172928 DOT 688 DOT qmail AT web21005 DOT mail DOT yahoo DOT com>

> Yeah, arg problem noted.  Oversight on my part, thanks.  However, the thread
> callback still appears to be a problem.  Here's a more simplified example:

Compile with warnings; on linux I use: g++ -W -Wall
-Wno-non-virtual-dtor -Wwrite-strings -Wpointer-arith -Wnested-externs
-Woverloaded-virtual -Wbad-function-cast -ansi -pedantic -pthread.

Check the pthread return values for errors.

Doing either of these will show you exactly where your problem is.  Make
both practises a habit.

HTH,
//lat
-- 
This planet has -- or rather had -- a problem, which was this: most
of the people living on it were unhappy for pretty much of the time.
Many solutions were suggested for this problem, but most of these
were largely concerned with the movements of small green pieces of
paper, which is odd because on the whole it wasn't the small green
pieces of paper that were unhappy.  --Douglas Adams

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019