public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Lassi A. Tuura" <lassi.tuura@cern.ch>
To: Evan Pollan <evan_pollan@yahoo.com>
Cc: cygwin@cygwin.com
Subject: Re: pthread_create -- no callback?
Date: Sun, 11 Nov 2001 08:26:00 -0000	[thread overview]
Message-ID: <3BF23A9A.5A9F35E0@cern.ch> (raw)
In-Reply-To: <20011113172928.688.qmail@web21005.mail.yahoo.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/

  parent reply	other threads:[~2001-11-14  9:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-01 21:42 Evan Pollan
2001-11-02  0:09 ` Lassi A. Tuura
2001-11-02  4:47   ` Evan Pollan
2001-11-11  8:26     ` Evan Pollan
2001-11-11  8:26     ` Lassi A. Tuura [this message]
2001-11-11  8:26       ` Evan Pollan
2001-11-11  8:26         ` Gareth Pearce
2001-11-11  8:26           ` David Starks-Browning
2001-11-11  8:26         ` Lassi A. Tuura
2001-11-11  8:26           ` Gareth Pearce
2001-11-11  8:26             ` Lassi A. Tuura
2001-11-11  8:26           ` Robert Collins
2001-11-11  8:26             ` Evan Pollan
2001-11-11  8:26               ` Lassi A. Tuura
2001-11-11  8:26                 ` Robert Collins
2001-11-11  8:26   ` Lassi A. Tuura
2001-11-11  8:26 ` Evan Pollan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BF23A9A.5A9F35E0@cern.ch \
    --to=lassi.tuura@cern.ch \
    --cc=cygwin@cygwin.com \
    --cc=evan_pollan@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).