On Wednesday 12 August 2009 12:36:02 Jim Donelson wrote:
> On Wed, Aug 12, 2009 at 10:41 AM, Michael Schnell <mschn...@lumino.de>wrote:
> > Jim Donelson wrote:
> > > I wonder why (on an SP machine) you don't just disable interrupts for a
> > > few instructions and give yourself an atomic dec?
> >
> > With many archs it's not possible to disable/enable interrupts in
> > user-space.
>
> But, then if you have an MMU, you have atomic instructions.

assuming you mean hardware atomic instructions, the answer is "not really".
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to