Timer context in Python

Some time ago I created a timer class for Neutron. This class was a context manager with a defined timeout. This timeout was implemented using the Linux alarm clock. Once the clock finishes the countdown, sends an alarm signal to the calling process. The problem of this implementation is that is not possible to use […]