Subject: Re: synchronization help
To: Jiang <jiangly@genetec.co.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 05/21/2004 23:35:27
On Fri, May 21, 2004 at 06:30:52PM +0900, Jiang wrote:
> Who can tell me how to avoid two drivers writing a register at the same
> time?
> Does NetBSD have similar mechanisms like windows mutex?

hum, why would 2 drivers want to write the same register ?

Anyway, using the right spl level should avoid it.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--