Subject: locking assistance sought
To: None <tech-kern@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 06/03/2005 16:22:09
I'm trying to roll some code (my AF_TIMER sockets) forward to 2.0.

The existing code uses splclock() heavily for locking against itself
and against clock interrupts.  My understanding is that this needs to
be changed to use real locks (though it's not clear to me whether I
want simple locks or full-fledged locks).

But since the code also does timer operations, I think I also need to
use splclock().

Is there anyone who knows how locks and spl*() interact and would be
willing to help me up to speed on this?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B