This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: pthread_create() returning EINTR? (glibc-2.1.3, Linux x86 kernel 2.2.15, gcc-2.95.2)
- To: "George T. Talbot" <george at moberg dot com>
- Subject: Re: pthread_create() returning EINTR? (glibc-2.1.3, Linux x86 kernel 2.2.15, gcc-2.95.2)
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 14 Oct 2000 16:52:09 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <39E7720E.DF12765D@moberg.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"George T. Talbot" <george@moberg.com> writes:
> I've got a program which spawns threads that listen on sockets. After
> running for a while, and opening and closing a lot of sockets, and
> starting a lot of threads, pthread_create() returns -1 with errno set to
> EINTR. EINTR isn't listed on pthread_create()'s man page, though I know
> what it is after using select().
Two things before I consider looking at this:
- try glibc 2.2 (either compile it yourself or use a distribution)
- provide a test case
If there would be know problems we'd document them.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------