8 Commits

Author SHA1 Message Date
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Dinnerbone
fe4f4c5f58 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Raphfrk
5c654eeb3d Improved the Scheduler.
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads
2011-05-02 02:34:59 -04:00
Andrew Ardill
b93f044983 add isQueued() to allow plugins to know a task is still in the queue.
Currently, there is no way to know if a task is still being handled by
the scheduler. This method, along with isCurrentlyRunning() allows a
plugin author to determine if a task is waiting to be executed, being
executed, or neither.
2011-02-21 12:33:40 +11:00
Andrew Ardill
e345a982eb add function isCurrentlyRunning(int taskId);
returns if the given task is currently running.
2011-02-17 13:26:20 +11:00
Raphfrk
a4cca21350 Allows calling of functions in the main thread 2011-02-13 22:05:06 -05:00
Raphfrk
2d43dcc125 Scheduler 2011-02-07 01:06:20 +01:00