[][src]Module sarchive::utils

Functions

read_file

Read file contents of the file given by the path. Separating the directory from the filename (which may contain directory hierarchy) is that we are able to monitor the path in case it dissapears (e.g., when a job is removed before we can get the information)

register_signal_handler

Register the handler for the given signal, so we can properly cleanup all threads

signal_handler_atomic

Handle the signal