Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 1999 16:06:42 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        shocking@prth.pgs.com, hackers@FreeBSD.ORG, nordwick@scam.xcf.berkeley.edu
Subject:   On pthreads [Was: Re: I was accepted to LokiHack '99 at Atlanta Linux Showcase]
Message-ID:  <19991004160641.H63946@daemon.ninth-circle.org>
In-Reply-To: <199910041054.GAA14658@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On [19991004 13:04], Daniel Eischen (eischen@vigrid.com) wrote:
>> Do you mean pthreads?
>>
>> If so, we still do not have a pthread_cancel in our libc_r which could
>> greatly make things harder to implement. I think OpenBSD has one and we
>> might do well to look at that one.
>
>We could implement pthread_cancel rather easily (I have some crufty
>patches lying around somewhere to do it), but it wouldn't be nearly
>POSIX compliant.  Some non-cancellable routines would be cancellable,
>and vice-versa I think too.                                       

We need to make a start somewhere, since no pthread_cancel makes us even
less compliant =P

>We need to take a different approach to our threads library in the
>form of scheduler activations.  I _can_ hack in the pthread_cancel
>routines into our current libc_r, but I'd much rather spend my
>time looking into scheduler activations which will better solve
>the problem.

I neither have the docs, experience nor time to be of any help save that
I can try patches/compilations for you.

I found these people in reference to libc_r whom could prove helpful or
insightful for your endeavours:

John Birrell <jb@freebsd.org>
Peter Dufault <dufault@freebsd.org>

Good luck.

-- 
Jeroen Ruigrok van der Werven/Asmodai                  asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>;
Network/Security Specialist        BSD: Technical excellence at its best
Seek, and ye shall find; knock, and it shall be opened unto you.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991004160641.H63946>