Re: Cleaning up temporary files
Bob Friesenhahn <[email protected]> Tue, 8 Jan 2013 08:57:42 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 8 Jan 2013, Felix Saphir wrote: > > Thank you for your reply. > > Problem is the main process is not supposed to exit. It just sits there > and waits for something to do, forks child processes and goes back to > sleep. I didn't mention that, sorry. > > The original developer didn't bother to call Initialize- or > DestroyMagick(), that's my duty now ... Lucky for me, all the image > processing stuff happens in the forks, so from your reply I guess I > should just call both functions from there. That would be a good plan. Given OpenMP threads and semaphores, it is best that the parent process do as little as possible. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512