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#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -