in reply to win32 threads problem

You don't show how/where you actually create your threads.

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: win32 threads problem
by leonidlm (Pilgrim) on Dec 07, 2008 at 15:04 UTC
    Sorry, you are right. This code is just above the code I posted:
    # Open the configuration files directory and create a thread for each +configuration file opendir (CDIR, $cfgFilesDir) or die; my $file; my $thr; while ($file = readdir(CDIR)) { if ($file =~ /.+?\.properties/) { $thr = threads->create(\&sendRequest, $file, 'localhost', $pee +rPort ); } } closedir (CDIR);