in reply to Re: xs, threads and panic
in thread xs, threads and panic
tomy $thread = threads->create(sub {$obj->run(&MESSAGE)}) or exit(1); $thread->join();
It works fine.my $callback = sub {$obj->run(&MESSAGE)}; $callback->();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: xs, threads and panic
by BrowserUk (Patriarch) on May 20, 2009 at 13:22 UTC | |
by Anonymous Monk on May 20, 2009 at 13:32 UTC | |
by BrowserUk (Patriarch) on May 20, 2009 at 13:37 UTC |