Re: Quitting an application
- From: Sujith <m sujith gmail com>
- To: G Hasse <gorhas raditex se>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Quitting an application
- Date: Fri, 28 Mar 2008 06:56:47 +0530
G Hasse writes:
This is a quite common problem in GUI design. How do you syncronize
between a long job and a short fast one (as quitting). The first answer
is that you should not do any long jobs. You should split the long work
in small ones, and let every other job have the ability to run.
Alternative you could make a coprocess to read the DB and when the work
is done you get the result in one "operation".
Well - the real answer is - it could be difficult. You might turn to
some syncronization mechanism or maybee threads...
Thanks. I guess I have to rethink my design then. :)
Sujith
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]