5 ms·
>It’d be nice to be able to say ‘this function should timeout within 10 ms’ and then any function called will just automatically timeout. Stackless Python has
by 7373737373 7y ago
>It’d be nice to be able to say ‘this function should timeout within 10 ms’ and then any function called will just automatically timeout.
Stackless Python has this ability - it can even resume suspended functions:
https://stackless.readthedocs.io/en/latest/library/stackless/pickling.html https://stackless.readthedocs.io/en/latest/library/stackless...
Additionally, suspended tasklets can be serialized, then saved to a file or sent over the network and resumed elsewhere!