From: Matt S. <ma...@se...> - 2001-12-11 19:47:15
|
On Tue, 11 Dec 2001, Marco Trudel wrote: > > > can someone give me a little example how to use wxThread in wxPerl? > > > i really can't figure out how this works... > > wxThread is not yet wrapped; I didn't wrap it because if you want threads, > you should > > use Perl threads, not wx ones; the only caveat is that you can only call > the GUI > > functions from the main thread > > ( the one in wich Wx::App was created ); other threads can communicate > with the main > > thread using Wx::EvtHandler::AddPendingEvent(); > > > > HTH > > Mattia > > ok, > i'll tried it with fork()... (looks like active perl doesn't support > Thread.pm) > the problem is that i have a process that needs some time, if i just call it > the gui freezes while the process works... > how can i prevent this? thought it would be a solution to make a thread and > wait for it, but this freezes the window too (right? didn't test it) > > so, can someone give me an example how to solve this problem? > would be great Win32::Process ? -- <!-- Matt --> <:->Get a smart net</:-> |