Re: timeout
- From: Paul Davis <pbd op net>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: Thomas Koninckx <tkoninck esat kuleuven ac be>, gtk-list gnome org
- Subject: Re: timeout
- Date: Sun, 21 Jul 2002 07:59:22 -0400
>Threads may sound like a good solution to this kind of problem, but in
>reality it can get complicated, especially if you want to be able to
>cancel the process, and even if you do get it right, your
>application's responsiveness may still be disappointing since threads,
>at least on Linux, are not fairly scheduled. This means that the
actually, the "problem" is that they *are* fairly scheduled.
>thread that runs the main loop can be starved by a worker thread, in
its starved only in the sense that you, the user, want the main loop
to have higher priority. this can easily be fixed by the programmer.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]