Subject: Re: build aborts in regress/lib/libpthread/sem
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-dreamcast
Date: 02/17/2003 08:34:11
On Mon, Feb 17, 2003 at 09:31:37PM +0900, Izumi Tsutsui wrote:
> I see your point, but as you say I don't know a good way
> to suspend/resume interrupts with LOCK/UNLOCK macros.
> IMHO these suspend/resume pairs are not so excessive, though..
Declare the temp variable in the function that uses LOCK/UNLOCK
and pass the temp variable as an argument to the macros?
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>