[587] in Pthreads mailing list archive
Re: pthread_cancel
daemon@ATHENA.MIT.EDU (Larry V. Streepy, Jr.)
Fri Mar 7 13:05:08 1997
Date: Fri, 07 Mar 1997 09:57:25 -0700
From: "Larry V. Streepy, Jr." <streepy@healthcare.com>
To: Craig Taverner <craig@hobbes.gh.wits.ac.za>
Cc: pthreads@MIT.EDU
Craig Taverner wrote:
>
> Hi,
>
> I've developed a number of thread based timeout routines for common socket
> operations (connect, accept, read, write, and others) under Solaris 2.5
> using the solaris pthread library. Everything works quite well. I then
> tried to run this under Linux with Proven's Pthreads and found that they
> appear not to have pthread_cancel and associated functions
> (pthread_setcancelstate(), etc).
>
> I was using the pthread library Proven announced in Nov 96. From the web
> page this appears to be the latest. Does it really not have
> pthread_cancel(). Is pthread_cancel not part of the posix standard? I've
> just tried the kernel based (clone() based) LinuxThreads version of
> pthreads from Xavier Leroy. My code seems to work fine with them.
Yes, pthread_cancel is part of the PTHREADS standard.
I implemented all the pthread_cancel and all associated functions for
the Proven Pthreads package. I've given all the code to Mr. Provenzano.
My understanding is that these functions will be incorporated in the
next release (although I didn't expect it to take this long).
--
Larry V. Streepy, Jr.
Chief Technical Officer, Healthcare Communications, Inc.
mailto:streepy@healthcare.com
(214) 851-7033 (Dallas Main #)
(970) 626-5028 (My office #) (970) 626-4425 (Fax)