Why does util.timer does not expose interrupt (original) (raw)
Paulo Levi i30817 at gmail.com
Wed Oct 14 09:54:26 UTC 2009
- Previous message: Why does util.timer does not expose interrupt
- Next message: Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Why does util.timer does not expose interrupt
- Next message: Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]