|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.83, 2002/11/24 11:37:57 | version 1.84, 2003/01/18 10:06:33 | ||
|---|---|---|---|
|
|
||
| void *v; | void *v; | ||
| #ifdef DIAGNOSTIC | #ifdef DIAGNOSTIC | ||
| if (__predict_false(curproc == NULL && doing_shutdown == 0 && | if (__predict_false(curlwp == NULL && doing_shutdown == 0 && | ||
| (flags & PR_WAITOK) != 0)) | (flags & PR_WAITOK) != 0)) | ||
| panic("pool_get: %s: must have NOWAIT", pp->pr_wchan); | panic("pool_get: %s: must have NOWAIT", pp->pr_wchan); | ||