Keep condvar wmesg within 8 char limit
This commit is contained in:
parent
96dea8fbcd
commit
fa0f1ddde5
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: sysproxy_socket.c,v 1.6 2010/03/01 13:02:46 pooka Exp $ */
|
/* $NetBSD: sysproxy_socket.c,v 1.7 2010/08/11 11:51:06 pgoyette Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
|
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: sysproxy_socket.c,v 1.6 2010/03/01 13:02:46 pooka Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: sysproxy_socket.c,v 1.7 2010/08/11 11:51:06 pgoyette Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
@ -270,7 +270,7 @@ wrkenqueue(void (*wfn)(void *), void *arg)
|
||||||
printf("syscall proxy warning: over 30 workers\n");
|
printf("syscall proxy warning: over 30 workers\n");
|
||||||
mutex_exit(&wrkmtx);
|
mutex_exit(&wrkmtx);
|
||||||
wrk = kmem_zalloc(sizeof(*wrk), KM_SLEEP);
|
wrk = kmem_zalloc(sizeof(*wrk), KM_SLEEP);
|
||||||
cv_init(&wrk->wrkcv, "sproxywrk");
|
cv_init(&wrk->wrkcv, "sproxywk");
|
||||||
retry:
|
retry:
|
||||||
error = kthread_create(PRI_NONE, KTHREAD_MPSAFE, NULL,
|
error = kthread_create(PRI_NONE, KTHREAD_MPSAFE, NULL,
|
||||||
wrkthread, wrk, NULL, "spw_%d", nwrk);
|
wrkthread, wrk, NULL, "spw_%d", nwrk);
|
||||||
|
|
Loading…
Reference in New Issue