Date: Tue, 25 Aug 2009 11:57:26 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Ed Schouten <ed@80386.nl> Cc: FreeBSD Arch <arch@freebsd.org>, Marcel Moolenaar <xcllnt@mac.com> Subject: Re: mtx_lock_do_what_i_mean() Message-ID: <20090825085726.GP9623@deviant.kiev.zoral.com.ua> In-Reply-To: <20090825073057.GK2829@hoeg.nl> References: <20090824174050.GI2829@hoeg.nl> <2678DC6C-3E91-420A-B43D-02E0F1F853C5@mac.com> <20090825073057.GK2829@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--HeirNmDatrwrWTrV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --HeirNmDatrwrWTrV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkqTp3YACgkQC3+MBN1Mb4joyACg1OAfpQEX0OEF0TF8jyQ1ZOcA Fi8AoLuQM0mMyaJD7Qk9y374S3CAz8cY =t+TC -----END PGP SIGNATURE----- --HeirNmDatrwrWTrV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090825085726.GP9623>
