flags for compilation
signal blocking in handle