bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LD linker stubs?


From: Marcus Brinkmann
Subject: Re: LD linker stubs?
Date: Sat, 26 Jan 2002 03:11:36 +0100
User-agent: Mutt/1.3.25i

On Tue, May 22, 2001 at 02:52:39AM -0400, Roland McGrath wrote:
> The Hurd servers won't be usable if converted to
> pthreads without working cancellation support.  I don't see how you're
> going to have cancellation without doing a proper pthreads implementation
> in libc that substantially overhauls the hurd signal code.

Can you expand on that?  In particular, I would be grateful if you could
clarify "cancellation".  Cancellation in pthreads is requesting the
termination of a thread, where I neither see how that is important in the
Hurd, nor what is missing for that in the current implementation.

So I guess you are referring to the interruptable RPCs.  Either we keep the
current implementation, but put it on top of pthreads rather than cthreads,
or we change the Hurd to use the pthread infrastructure for that (I guess
that means using pthread_cleanup_* in the relevant places and using the
terminating pthread_cancel, rather than using the hurd_condition_wait
semantics, where a non-zero return value indicates cancellation).

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]