Why does util.timer does not expose interrupt (original) (raw)

Paulo Levi i30817 at gmail.com
Wed Oct 14 09:54:26 UTC 2009


Never mind, just realized that there is no guarantee of what Task would see it at the correct time. Its easier to set a flag to false before the sleep and check it after it.

Not thinking concurrently enough.

On Wed, Oct 14, 2009 at 10:11 AM, Paulo Levi <i30817 at gmail.com> wrote:

Would be really helpful for those tasks that are "paused" purposefully or not.



More information about the core-libs-dev mailing list