Python provides a signals
module and os.kill
; does it have a facility for sigqueue()
(real-time signals with attached data)? What are the alternatives?
How do I send and receive real-time signals `sigqueue()` in Python?
1.5k Views Asked by joeforker At
2
There are 2 best solutions below
0

One alternative, if no one has done it yet, would be to wrap the C library yourself - should be pretty quick and painless. Look here for more details.
You could do it with ctypes
You'll have to look up how to make a union in ctypes which I've never done before but I think is possible.