Functions | |
int | readPid (const char *pidfile) |
Read the contents of a pid file and return the results. | |
int | checkPid (const char *pidfile) |
Ensure the pid file corresponds to a currently running process. | |
int | writePid (const char *pidfile) |
Writes the pid to the specified file. | |
int | removePid (const char *pidfile) |
Remove a pid file. |
|
Ensure the pid file corresponds to a currently running process.
Definition at line 78 of file OW_PidFile.cpp. References readPid(). |
|
Read the contents of a pid file and return the results.
Definition at line 62 of file OW_PidFile.cpp. Referenced by checkPid(). |
|
Remove a pid file.
Definition at line 141 of file OW_PidFile.cpp. References OW_NAMESPACE::FileSystem::removeFile(). Referenced by OW_NAMESPACE::Platform::daemonShutdown(). |
|
Writes the pid to the specified file.
Definition at line 96 of file OW_PidFile.cpp. References OW_NAMESPACE::FileSystem::close(), and OW_NAMESPACE::File::tryLock(). |