Front page | perl.ithreads |
Postings from July 2008
Re: Thread::pool
Thread Previous
|
Thread Next
From:
Jerry D. Hedden
Date:
July 29, 2008 05:39
Subject:
Re: Thread::pool
Message ID:
1ff86f510807290539t62ad8ee8q1da8d80853258810@mail.gmail.com
> 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".
Thread Previous
|
Thread Next