Python - signal.alarm function -


i'm trying build python timeout exception runs in milliseconds.

the python signal.alarm function has 1 second resolution.

how 1 equivalent function requests sigalrm signal given process in, milliseconds, opposed seconds?

i've found no simple solutions of yet.

thanks in advance input.

use signal.setitimer() instead.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -