Re: mainloop-test
- From: "Dan Maas" <dmaas dcine com>
- To: "David Reid" <dreid jetnet co uk>, "GTK Development List" <gtk-devel-list gnome org>
- Subject: Re: mainloop-test
- Date: Mon, 19 Mar 2001 16:38:49 -0500
> 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]