in reply to Re: win32 threads problem
in thread win32 threads problem
# 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);
|
|---|