Re: Temporary files in GraphicsMagick
Bob Friesenhahn <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <Pine.GSO.4.44.0303241554210.14868-100000@scooby.simplesystems.org> |
On Mon, 24 Mar 2003, Leonard Rosenthol wrote: > At 02:25 PM 3/23/2003 -0600, Bob Friesenhahn wrote: > >I am planning to implement a temporary file management subsystem in > >GraphicsMagick similar to what I described on the gm-core list > >yesterday. > > Excellent. > > I've had to deal with the IM/GM temp file problem when using it > for commercial software development. It will be nice to see it handled in > a consistant/reliable way. Most definitely. > >Rather than requiring that code thoughout GraphicsMagick manage its > >own temporary files, temporary file access will be via a temporary > >file allocation subsystem which keeps track of the temporary files > >which have been allocated, and assures that they are all removed if > >GraphicsMagick is still capable of making an orderly exit (a "kill -9" > >or any other uncatchable signal/exception can still leak files). > > Are you going to put in standard SIG handlers, so that you can > dispose of them it we do get a signal? Yes. Cristy had already added a signal handler to cache.c (an odd place to put it), but I very much doubt that it actually works. Bob ====================================== Bob Friesenhahn [email protected] http://www.simplesystems.org/users/bfriesen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf