Threading



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]