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

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

View File

@ -112,7 +112,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);