Re: Kill fastcgi process
Matthew Weigel <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Matt wrote: > So you lock files you think other processes might be touching? What locking > mechanisms are available in a Linux environment(C++)? Linux supports the BSD flock() mechanism, as well as the POSIX lockf(). They both require file descriptors, which are lower-level than iostream stuff; Boost provides a file_lock class, but I haven't used it and you'd need to consult the Boost documentation for that. -- Matthew Weigel hacker unique & idempot . ent