Threading
- From: "Jens Luedicke" <jens luedicke gmail com>
- To: "Gtk2-Perl List" <gtk-perl-list gnome org>
- Subject: Threading
- Date: Sun, 6 Aug 2006 21:38:16 +0200
Heya...
How do I wait for a thread to join without blocking the
GUI?
like:
1) show dialog
2) start resource heavy stuff in thread
3) wait for thread to finish
4) destroy dialog
the problem is: $thread->join; blocks. my thread is still doing
it's stuff but my GUI is (b)locked.
another idea is to use a shared boolean variable that is set
to true/false to indicate the threads status.
any hints?
jens
--
Jens Luedicke
web: http://perldude.de/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]