Skip to content
Snippets Groups Projects
posix.rst 629 B

POSIX-specifics

suicide

Kill your process (and your process group)

daemonize

Become a daemonized process

hang_until_sig

Sleep until a signal is received

is_running_as_root

Return if running as root

PIDFileLock

This is meant to acquire a lock on a file.