Mercurial > projects > dwt-addons
comparison dwtx/core/runtime/jobs/IJobManager.d @ 167:862b05e0334a
Add a wrapper for Thread
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 09 Sep 2008 15:59:16 +0200 |
parents | 9d0585bcb7aa |
children |
comparison
equal
deleted
inserted
replaced
163:e5dd0081ccba | 167:862b05e0334a |
---|---|
21 import dwtx.core.runtime.jobs.Job; | 21 import dwtx.core.runtime.jobs.Job; |
22 import dwtx.core.runtime.jobs.ILock; | 22 import dwtx.core.runtime.jobs.ILock; |
23 import dwtx.core.runtime.jobs.LockListener; | 23 import dwtx.core.runtime.jobs.LockListener; |
24 | 24 |
25 import dwtx.core.runtime.jobs.ProgressProvider; | 25 import dwtx.core.runtime.jobs.ProgressProvider; |
26 import tango.core.Thread; | 26 import dwtx.dwtxhelper.JThread; |
27 | 27 |
28 /** | 28 /** |
29 * The job manager provides facilities for scheduling, querying, and maintaining jobs | 29 * The job manager provides facilities for scheduling, querying, and maintaining jobs |
30 * and locks. In particular, the job manager provides the following services: | 30 * and locks. In particular, the job manager provides the following services: |
31 * <ul> | 31 * <ul> |
405 * | 405 * |
406 * @param rule The scheduling rule to transfer | 406 * @param rule The scheduling rule to transfer |
407 * @param destinationThread The new owner for the transferred rule. | 407 * @param destinationThread The new owner for the transferred rule. |
408 * @since 3.1 | 408 * @since 3.1 |
409 */ | 409 */ |
410 public void transferRule(ISchedulingRule rule, Thread destinationThread); | 410 public void transferRule(ISchedulingRule rule, JThread destinationThread); |
411 | 411 |
412 /** | 412 /** |
413 * Resumes scheduling of all sleeping jobs in the given family. This method | 413 * Resumes scheduling of all sleeping jobs in the given family. This method |
414 * has no effect on jobs in the family that are not currently sleeping. | 414 * has no effect on jobs in the family that are not currently sleeping. |
415 * | 415 * |