comparison dwtx/jface/operation/IThreadListener.d @ 167:862b05e0334a

Add a wrapper for Thread
author Frank Benoit <benoit@tionex.de>
date Tue, 09 Sep 2008 15:59:16 +0200
parents 1a6747be662d
children
comparison
equal deleted inserted replaced
163:e5dd0081ccba 167:862b05e0334a
11 * Frank Benoit <benoit@tionex.de> 11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 12 *******************************************************************************/
13 module dwtx.jface.operation.IThreadListener; 13 module dwtx.jface.operation.IThreadListener;
14 14
15 import dwt.dwthelper.utils; 15 import dwt.dwthelper.utils;
16 import tango.core.Thread; 16 import dwtx.dwtxhelper.JThread;
17 17
18 /** 18 /**
19 * A thread listener is an object that is interested in receiving notifications 19 * A thread listener is an object that is interested in receiving notifications
20 * of thread changes. For example, a thread listener can be used to notify a 20 * of thread changes. For example, a thread listener can be used to notify a
21 * runnable of the thread that will execute it, allowing the runnable to transfer 21 * runnable of the thread that will execute it, allowing the runnable to transfer
27 /** 27 /**
28 * Notification that a thread change is occurring. 28 * Notification that a thread change is occurring.
29 * 29 *
30 * @param thread The new thread 30 * @param thread The new thread
31 */ 31 */
32 public void threadChange(Thread thread); 32 public void threadChange(JThread thread);
33 } 33 }