|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.36, 2000/05/31 15:29:42 | version 1.37, 2000/06/10 18:44:44 | ||
|---|---|---|---|
|
|
||
| } | } | ||
| #endif | #endif | ||
| if (__predict_false(curproc == NULL && (flags & PR_WAITOK) != 0)) | if (__predict_false(curproc == NULL && doing_shutdown == 0 && | ||
| (flags & PR_WAITOK) != 0)) | |||
| panic("pool_get: must have NOWAIT"); | panic("pool_get: must have NOWAIT"); | ||
| simple_lock(&pp->pr_slock); | simple_lock(&pp->pr_slock); |