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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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