Home  |  Linux  | Mysql  | PHP  | XML
From:Jerry D. Hedden Date:Tue Jul 29 06:39:17 2008
Subject:Re: Thread::pool
> First i initialice the pool and then i set the process as a daemon. Then i
> call the scan_files() function.

Nope.  That's no good.

> I also test to initialice the pool inside the daemon() function

Depends on where in daemon you do it - it must come after the fork.

> and between daemon() and scan_files().

Better.

> Doing that, the output is blank, but it doesn't work.

Define "doesn't work".
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