Add a configurable way to set a signal mask for the thread.