Lines Matching defs:thread

41  * <li><code>toolkitThreadBusy</code> - whether the toolkit thread
52 * thread (<code>blockerThread</code>) is running when AWT is not in
53 * ready-to-shutdown state. This blocker thread is to prevent AWT from
54 * exiting since the toolkit thread is now daemon and all the event
56 * that AWT is in ready-to-shutdown state this blocker thread waits
58 * this blocker thread terminates all the event dispatch threads and
71 * This lock object is to secure that when a new blocker thread is
73 * the thread that created the new blocker released the main lock
87 * Indicates whether the toolkit thread is waiting for a new native
99 * References the alive non-daemon thread that is currently used
132 * Notify that the toolkit thread is not waiting for a native event
144 * Notify that the toolkit thread is waiting for a native event
156 * Add a specified thread to the set of busy event dispatch threads.
157 * If this set already contains the specified thread or the thread is null,
160 * @param thread thread to be added to this set, if not present.
164 public void notifyThreadBusy(final Thread thread) {
165 if (thread == null) {
176 busyThreadSet.add(thread);
182 * Remove a specified thread from the set of busy event dispatch threads.
183 * If this set doesn't contain the specified thread or the thread is null,
186 * @param thread thread to be removed from this set, if present.
190 public void notifyThreadFree(final Thread thread) {
191 if (thread == null) {
196 busyThreadSet.remove(thread);
239 * Notify about the toolkit thread state change.
241 * @param busy true if the toolkit thread state changes from idle
275 * Incapsulates the blocker thread functionality.
284 /* Notify that the thread is started. */
327 * Creates and starts a new blocker thread. Doesn't return until
328 * the new blocker thread starts.
331 Thread thread = new Thread(this, "AWT-Shutdown");
332 thread.setDaemon(false);
333 blockerThread = thread;
334 thread.start();
336 /* Wait for the blocker thread to start. */