diff --git a/doc/Changelog b/doc/Changelog index 7e7fb9433..9e8b64a03 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,7 @@ 19 July 2007: Wouter - shuffle NS selection when getting nameserver target addresses. + - fixup of deadlock warnings, yield cpu in checklock code so that + freebsd scheduler selects correct process to run. 18 July 2007: Wouter - do not query addresses, 127.0.0.1, and ::1 by default. diff --git a/testcode/checklocks.c b/testcode/checklocks.c index f8e896901..eccc72d76 100644 --- a/testcode/checklocks.c +++ b/testcode/checklocks.c @@ -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;