Antoine Pitrou <pit...@free.fr> added the comment:

Sorry, the calibration loop actually looks correct in case of preemption, since 
it simply divides the TSC delta by the elapsed physical time (and both continue 
increasing monotonously when another thread runs). It is still vulnerable to 
the thread migration problem, though.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to