Hi,
The following patch changes sysmon_taskq to use mutexes and
condvars.
I had to use two spin mutexes to handle the queue and
finalization, as
the former may be called from interrupt context and I can't
acquire an
adaptive mutex while I'm in the spinning one.
It's working great with LOCKDEBUG/DIAGNOSTIC/DEBUG... please
review.
http://w
ww.netbsd.org/~xtraeme/smtaskq2.diff
Cheers.
--
Juan Romero Pardines - The NetBSD Project
http://plog.xtrarom.org
- NetBSD/pkgsrc news in Spanish
|