in reply to Re^3: Scope of thread variable
in thread Scope of thread variable
Or
How can I restart thread a thread if it died with same thread Id?
# some code here.... for (0 ..3)) { my $thr = threads->create ( sub { worker(); } )->detach(); } # Master Thread while (1) { master(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Scope of thread variable
by BrowserUk (Patriarch) on Apr 08, 2010 at 16:07 UTC | |
by mr_p (Scribe) on Apr 08, 2010 at 17:00 UTC | |
by BrowserUk (Patriarch) on Apr 08, 2010 at 17:19 UTC | |
by mr_p (Scribe) on Apr 08, 2010 at 17:31 UTC | |
by BrowserUk (Patriarch) on Apr 08, 2010 at 17:48 UTC | |
|