LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Javier Date: Wed Jul 30 02:00:18 2008 Subject: Re: Thread::pool
Hi!
scan_files() is a function. Where is? This function is present in same
file. This code is very simple:
= = = = * * * * = = = =
sub scan_files
{
my $DIR = "/var/workq/";
while(1)
{
opendir(DIRHANDLE, $DIR) || die "ERROR: $DIR not read\n";
foreach (readdir(DIRHANDLE))
{
if (!-d $_)
{
$pool->job($_);
}
}
closedir DIRHANDLE;
sleep($Fax::Config::param{'queuescanperiod'});
}
}
= = = = * * * * = = = =
2008/7/29 Chris Fowler <cfowler@outpostsentinel.com>:
> Where is scan_files()?
>
> --
> Chris Fowler
> OutPost Sentinel, LLC
> AIM: strtok2002
> Support @ SIP/support@pbx.opsdc.com
> or 678-804-8193
> Email Support @ support@outpostsentinel.com
>
>
>
--
A greeting,
Javier.
| Navigate in group perl.ithreads at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |