Lines Matching refs:thread
31 * thread, and stops itself when it runs out of work.
34 * from an application's main thread. The IntentService class exists to
37 * will receive the Intents, launch a worker thread, and stop the service as
40 * <p>All requests are handled on a single worker thread -- they may take as
73 * @param name Used to name the worker thread, important only for debugging.
107 HandlerThread thread = new HandlerThread("IntentService[" + mName + "]");
108 thread.start();
110 mServiceLooper = thread.getLooper();
150 * This method is invoked on the worker thread with a request to process.
152 * worker thread that runs independently from other application logic.