in reply to Re^8: perl -Dusethreads compilation
in thread perl -Dusethreads compilation
Unless you explicitly share a varible, each thread will have it's own copy.
But, if you assign an object to a variable, before you spawn a thread, the new thread will usually not be able to use its copy successfully. It is quite hard to advise you without seeing your code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: perl -Dusethreads compilation
by mr_p (Scribe) on Apr 05, 2010 at 22:04 UTC | |
by BrowserUk (Patriarch) on Apr 05, 2010 at 22:37 UTC | |
by mr_p (Scribe) on Apr 05, 2010 at 22:47 UTC |