in reply to Re^2: Threads inside Objects & Sharing
in thread Threads inside Objects & Sharing
changed the name to "__test__" to make it look more private.
Forget looks, just do it right :)
my $test = sub { ... }; threads->create( $test, ...
The "waiter" will have to wait for this ready state, not the end of the thread.
See Re: Parallel download Tk ( threads Thread::Queue LWP::UserAgent WWW::Mechanize)
|
|---|