commit | 3a52c83eb082ba0b9c445c7d8aa40929db849a04 | [log] [tgz] |
---|---|---|
author | kurka.daniel@gmail.com <kurka.daniel@gmail.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Jan 30 18:56:31 2013 +0000 |
committer | kurka.daniel@gmail.com <kurka.daniel@gmail.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Jan 30 18:56:31 2013 +0000 |
tree | 84e367b94e11019f3b1e370e26efd8901172cc5c | |
parent | f6f99438b315887852fae1a57c4b11706e4425e1 [diff] |
Avoid busy waiting in SchedulerImpl.runRepeatingTasks If all task are finished in the queue, the code was doing busy waiting. Added detection for finished task, thus returning as soon as possible. Fixes issue 7307. Change-Id: I288975242600fe5fc13b9bcb356f9807894bb2cb Review-Link: https://gwt-review.googlesource.com/#/c/1750/ Review by: goktug@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11487 8db76d5a-ed1c-0410-87a9-c151d255dfc7