comparison org.eclipse.core.jobs/src/org/eclipse/core/runtime/jobs/LockListener.d @ 19:52184e4b815c

no more direct tango.core.Thread. Rename JThread to java.lang.Thread.
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 10:55:25 +0100
parents bc29606a740c
children
comparison
equal deleted inserted replaced
18:735224fcc45f 19:52184e4b815c
10 * Port to the D programming language: 10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de> 11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 12 *******************************************************************************/
13 module org.eclipse.core.runtime.jobs.LockListener; 13 module org.eclipse.core.runtime.jobs.LockListener;
14 14
15 import java.lang.JThread; 15 import java.lang.Thread;
16 import java.lang.all; 16 import java.lang.all;
17 import java.util.Set; 17 import java.util.Set;
18 18
19 import org.eclipse.core.internal.jobs.JobManager; 19 import org.eclipse.core.internal.jobs.JobManager;
20 import org.eclipse.core.internal.jobs.LockManager; 20 import org.eclipse.core.internal.jobs.LockManager;
48 * @param lockOwner the thread that currently owns the lock this thread is 48 * @param lockOwner the thread that currently owns the lock this thread is
49 * waiting for, or <code>null</code> if unknown. 49 * waiting for, or <code>null</code> if unknown.
50 * @return <code>true</code> if the thread should be granted immediate access, 50 * @return <code>true</code> if the thread should be granted immediate access,
51 * and <code>false</code> if it should wait for the lock to be available 51 * and <code>false</code> if it should wait for the lock to be available
52 */ 52 */
53 public bool aboutToWait(JThread lockOwner) { 53 public bool aboutToWait(Thread lockOwner) {
54 return false; 54 return false;
55 } 55 }
56 56
57 /** 57 /**
58 * Notification that a thread is about to release a lock. 58 * Notification that a thread is about to release a lock.