Home | History | Annotate | Download | only in src

Lines Matching refs:Worker

210 class Worker {
212 Worker();
213 ~Worker();
215 // Run the given script on this Worker. This function should only be called
216 // once, and should only be called by the thread that created the Worker.
218 // Post a message to the worker's incoming message queue. The worker will
220 // This function should only be called by the thread that created the Worker.
222 // Synchronously retrieve messages from the worker's outgoing message queue.
224 // If there are no messages in the queue and the worker is no longer running,
226 // This function should only be called by the thread that created the Worker.
228 // Terminate the worker's event loop. Messages from the worker that have been
239 explicit WorkerThread(Worker* worker)
241 worker_(worker) {}
246 Worker* worker_;
448 static i::List<Worker*> workers_;