Subject: Re: build aborts in regress/lib/libpthread/sem
To: Izumi Tsutsui <firstname.lastname@example.org>
From: Marcus Comstedt <email@example.com>
Date: 02/16/2003 20:42:49
Izumi Tsutsui <firstname.lastname@example.org> writes:
> How about the attached patch?
There was a point in having the LOCK/UNLOCK macros, now the
implementation is spread out over all the place. For example, if we
implement some G2 DMA (for sound, for example), we'll need to add
appropriate DMA suspension calls (so that we don't have to busy-wait
for the whole DMA transfer to complete) at each of these points.
I realize you need a temp variable, and declaring it in G2_LOCK is a
bit hackish, but I don't really like this excessive cut'n'paste