forgot about sigprocmask in the example
fixed conflict