Date: Fri, 16 Apr 2004 13:10:17 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 51195 for review Message-ID: <200404162010.i3GKAHhb040905@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=51195 Change 51195 by jhb@jhb_slimer on 2004/04/16 13:09:22 Whitespace. Affected files ... .. //depot/projects/smpng/sys/kern/subr_taskqueue.c#18 edit Differences ... ==== //depot/projects/smpng/sys/kern/subr_taskqueue.c#18 (text+ko) ==== @@ -229,6 +229,7 @@ static void taskqueue_thread_loop(void *dummy) { + mtx_lock(&taskqueue_thread->tq_mutex); for (;;) { taskqueue_run(taskqueue_thread); @@ -240,6 +241,7 @@ static void taskqueue_thread_enqueue(void *context) { + mtx_assert(&taskqueue_thread->tq_mutex, MA_OWNED); wakeup(taskqueue_thread); } @@ -344,6 +346,7 @@ static void taskqueue_define_fast(void *arg) { + taskqueue_fast = malloc(sizeof(struct taskqueue), M_TASKQUEUE, M_NOWAIT | M_ZERO); if (!taskqueue_fast) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404162010.i3GKAHhb040905>