[FASTCGI] Kill fastcgi process
Matthew Weigel
unique at idempot.net
Fri Jul 31 02:16:16 EDT 2009
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
More information about the FastCGI-developers
mailing list