fixup of join deadlock warnings.

git-svn-id: file:///svn/unbound/trunk@437 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-07-19 11:32:47 +00:00
parent 55630293b9
commit a96e895bc9
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -516,6 +516,7 @@ static int timed_spinlock(void* arg, struct timespec* to)
#ifndef S_SPLINT_S
if(time(NULL) >= to->tv_sec)
return ETIMEDOUT;
usleep(1000); /* in 1/1000000s of a second */
#endif
}
return err;