Re: mainloop-test



> In the other thread tests we wait for a second before
> starting the test to allow the threads to start but not
> in mainloop-test!  This caused FreeBSD to fail the test

Wouldn't it be better to use a semaphore to synchronize the threads? usleep
just makes races less likely to occur, it doesn't fix the problem...

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]