Hi Shlomi,
From: "Shlomi Fish" <shlo...@shlomifish.org>
For why you should not use threads in Perl, see:
*
http://perl-begin.org/FAQs/freenode-perl/#I.27m_trying_to_use_threads_to_speed_up_my_program._What_should_I_know.3F
* http://perl-begin.org/uses/multitasking/#threads
(**NOTE**: http://perl-begin.org/ is a site I originated and still
maintain -
all caveats apply.)
Why do you think you need to use threads? Perhaps describe your problem and
we
can suggest an alternative. See "XY Problem" at:
http://www.perlmonks.org/?node_id=542341
Regards,
Shlomi Fish
Do you know any examples of apps that use a GUI made with WxPerl which uses
AnyEvent (or another module that can be used for event programming)?
...Preferably not something with an old style as poe
I know Perl's support for threads is pretty bad, but I haven't seen a better
alternative for creating apps with a GUI.
In an app that uses a GUI, if that app is doing something that takes time,
in order to not freeze the interface while the app is doing its work, the
GUI should use the main thread and the work should be done by a worker
thread.
This is what I read in the very few tutorials available for WxPerl and I
don't know how can be this changed with an event-style programming.
Thanks.
Octavian
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/