Subject: Device drivers and threads/locking?
To: None <tech-kern@netbsd.org>
From: Gary Thorpe <gat7634@hotmail.com>
List: tech-kern
Date: 06/07/2002 13:07:08
Hi,
I have a general question about drivers: is it necessary or good practice to
put locking/synchronization in functions used to manipulate a device? In
other words, is it possible or will it be possible in the future for two or
more different threads of control (this actually includes two or more
seperate processes as well) to attempt to manipulate or use the services of
a single device? If so, what facilities does the kernel provide for this?
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx