Python blocking/suspending signals under Linux/OSX using ctypes sigprocmask access