Matthew Dharm wrote:
> 
> What's wrong with this?  We need to hold the spinlock to prevent the
> disconnect function from proceeding while we are using the device.

If you want to protect against the disconnect thread, you need
a semaphore, not a spinlock.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to