Date: Fri, 9 Dec 2005 19:24:01 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 87965 for review Message-ID: <200512091924.jB9JO1Yj025645@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=87965 Change 87965 by jhb@jhb_twclab on 2005/12/09 19:23:03 Use a mutex that is initialized. Affected files ... .. //depot/projects/smpng/sys/modules/crash/crash.c#23 edit Differences ... ==== //depot/projects/smpng/sys/modules/crash/crash.c#23 (text+ko) ==== @@ -87,9 +87,9 @@ ddblock_test(void) { - mtx_lock(&test1_mtx); - kdb_enter("test1_mtx locked"); - mtx_unlock(&test1_mtx); + mtx_lock(&test_mtx); + kdb_enter("test_mtx locked"); + mtx_unlock(&test_mtx); sx_slock(&foo); kdb_enter("foo slocked"); sx_sunlock(&foo);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512091924.jB9JO1Yj025645>