Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Parallel download Tkby choroba (Cardinal) |
on Dec 31, 2018 at 21:14 UTC ( [id://1227845]=note: print w/replies, xml ) | Need Help?? |
Tk isn't thread safe, but there are ways how to use it with threads safely - basically, load it into one thread only (which means require instead of use) and don't share anything from it. For an example, see PM::CB::G.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|