Re: accel handling

Stephen C. Tweedie
1999-08-30T10:44:17Z

Hi,

On Sun, 29 Aug 1999 21:14:11 -0400 (EDT), James Simmons
<jsimmons@edgeglobal.com> said:

>> A combination of shared-memory spinlocks (for fast tight-loop locking)
>> and SysV semaphores (for a blocking lock if the lock is taken for too
>> long) can be combined to give a simple but very efficient locking engine
>> for this type of thing.

> Any docs on this stuff. How would I go about do this ? I really want to do
> this write.

There are spinlock primitives in linux/asm/spinlock.h, and the
underlying atomic bit operations are in linux/asm/bitops.h. man shmop
and man semop for information about SysV shared memory and semaphores.

--Stephen