Carl Banks <[EMAIL PROTECTED]> wrote:

> (...)
> But I recommend threads for this.  It's one of the easiest possible
> uses of threads.  There's no complex communication involved; locks and
> semaphores and stuff aren't required.  Just connect to the database in
> a subthread, and have it set a global flag just before it exits. 
> Animate in a loop in the main thread, checking the flag every
> iteration, and when it's true, you're done.
> (...)

I'll try to do this with threads then. Thanks for the answer.

-- 
Bartek Rymarski <[EMAIL PROTECTED]>
$ %blow
bash: fg: %blow: no such job
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to