Move PeriodicMonitoringThread to its own file.
And give it unittest coverage. (Using it as an actual thread didn't produce coverage metrics because we use 'greenlet' concurrency.) Add a rudimentary scheduler so that functions that don't want to run as often as the minimum stay (very roughly) on their period.
Showing
src/gevent/_monitor.py
0 → 100644
Please register or sign in to comment