Return to pthread.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libpthread |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.58, 2007/01/31 23:55:20 | version 1.59, 2007/02/09 23:53:24 | ||
---|---|---|---|
|
|
||
pthread__nspins = PTHREAD__NSPINS; | pthread__nspins = PTHREAD__NSPINS; | ||
else | else | ||
pthread__nspins = 1; | pthread__nspins = 1; | ||
i = _lwp_unpark_all(NULL, 0, NULL); | i = (int)_lwp_unpark_all(NULL, 0, NULL); | ||
if (i == -1) | |||
err(1, "_lwp_unpark_all"); | |||
if (i < pthread__unpark_max) | if (i < pthread__unpark_max) | ||
pthread__unpark_max = i; | pthread__unpark_max = i; | ||
#endif | #endif |