mtx_lock_do_what_i_mean()
Kostik Belousov
kostikbel at gmail.com
Tue Aug 25 08:57:34 UTC 2009
On Tue, Aug 25, 2009 at 09:30:57AM +0200, Ed Schouten wrote:
> I think we could look at this approach somewhere in the future, but
> better not now. I'd rather not debug debugging interfaces. ;-)
Would you use the lock/unlock function pointers in the appropriate
structure ? See, for instance, the locking interface in kqueue
subsystem, in particular, struct knlist and functions knlist_init and
knlist_init_mtx.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20090825/9d59a513/attachment.pgp
More information about the freebsd-arch
mailing list