I'm not so happy with this intermediate function, as it adds an extra level of indirection thus makes the source harder to read; any reason not to just emit the signals from the signal handlers directly