l4-hurd
[Top][All Lists]
Advanced

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

Re: deferred cancellation of ipc


From: Marcus Brinkmann
Subject: Re: deferred cancellation of ipc
Date: Thu, 16 Oct 2003 01:35:44 +0200
User-agent: Mutt/1.5.4i

On Thu, Oct 16, 2003 at 09:23:42AM +1000, Stefan G?tz wrote:
> On Wed, 2003-10-15 at 09:49, Marcus Brinkmann wrote:
> > > > Or does maybe stopping a thread on another CPU count as 
> > > > preemption and is also delayed?
> > > 
> > > Sorry, but I don't get what you mean.  What is "stopping"; exregs?
> > 
> > Yes.  Also called halting.  If I stop/halt a thread on another cpu, will
> > this stop/halt the thread even if it delayed preemption?  Or does preemption
> > delay prevent that?
> 
> Yes. No. DPs do not alter the effects of system calls like ThreadControl
> or ExchangeRegisters.

This means that I can not implement MP safe atomic operations using DPs, and
DP is not a solution to the problem as stated.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    address@hidden
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
address@hidden
http://www.marcus-brinkmann.de/




reply via email to

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