Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2001 13:34:34 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bernd Walter <ticso@cicely5.cicely.de>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: atomic_ question
Message-ID:  <XFMail.010208133434.jhb@FreeBSD.org>
In-Reply-To: <20010208222131.D81067@cicely5.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08-Feb-01 Bernd Walter wrote:
> Do we grant usuage of the atomic functions in interrupt code?
> If yes there is a need to disable interrupts!
> I'm not talking about interrupt threads.

Yes, we use spin mutexes to schedule ithreads, and we use other atomic
operations in IPI handlers.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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




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