This is exactly how signals are implemented in Python :-) Victor Le lundi 9 février 2015, Robert Collins <robertc at robertcollins.net> a écrit : > On 9 February 2015 at 09:11, Maciej Fijalkowski <fijall at gmail.com > <javascript:;>> wrote: > > Hi Francis > > > > Feel free to steal most of vmprof code, it should generally work > > without requiring to patch cpython (python 3 patches appreciated :-). > > As far as timer goes - it seems not to be going anywhere, I would > > rather use a background thread or something > > What about setting a flag when the signal arrives and checking it at > the next bytecode evaluation or something? > > -Rob > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org <javascript:;> > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150209/15bda3de/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4