in reply to Multi threading
What error message do you get if you call your thread procedure as a simple function?
Ie. Instead of:
my $thr = threads->new( \&worker, ... );
Do, (temporarily)
worker( ... );
Threaded programmers rule 1: When you've sorted out the bugs in your code when running it single threaded, it is an awful lot easier to get it to run multi-threaded.
|
|---|