public inbox for
 help / color / mirror / Atom feed
From: Will Bryant <>
Subject: pthread_self inside thread procedure
Date: Fri, 19 Nov 2004 02:09:00 -0000	[thread overview]
Message-ID: <> (raw)

Hi all,

With the new release, I'm finding that my threads can't detach; at the 
very start of the thread procedure, they do a 

This call is returning ESRCH, because while pthread_self() is returning 
a valid pthread_t structure, the first element of it is always NULL (the 
second member is consistently a fairly high number, eg. 2312903, but 
that may not have any significance).

So, unless I'm missing something, it seems that pthread_self() is broken 
with the new release.  Can others reproduce this problem?

Best regards,

Will Bryant
Systems Architect, eCOSM.
Phone +64 3 365 4176 | Mobile +64 21 655 443

                 reply	other threads:[~2004-11-19  2:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

* 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).