Merge commit 'refs/top-bases/feature-branch' into feature-branch

This commit is contained in:
Brian Behlendorf 2009-07-14 16:49:23 -07:00
commit 407a09cf3e
1 changed files with 0 additions and 1 deletions

View File

@ -113,7 +113,6 @@ thread_fini(void)
/* Wait for all threads to exit via thread_exit() */
VERIFY3S(pthread_mutex_lock(&kthread_lock), ==, 0);
while ((count = thread_count()) > 1) {
printf("Waiting for %d\n", count);
clock_gettime(CLOCK_REALTIME, &ts);
ts.tv_sec += 1;
pthread_cond_timedwait(&kthread_cond, &kthread_lock, &ts);