in reply to Re: Runing "regular" code with threaded perl
in thread Runing "regular" code with threaded perl
What does this mean? Indeed, my program "was not written to use threads" in that is was developed and tested on a single processor machine. Yet the same code fails on a multi-processor machine with threading enabled. The actual code is simple: I make a system call to a routine that outputs a file, then reads the resulting file. The perl script is trying to access the file before the called routine is finished making it (if I load the code in a debugger and step through line by line it runs just fine). How does this translate to "perl not using threads"? Are you suggesting that it's a problem with the OS managing threads?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Runing "regular" code with threaded perl
by pc88mxer (Vicar) on Jul 10, 2008 at 07:14 UTC |