Lines Matching refs:thread
69 void setThread(PassRefPtr<SharedWorkerThread> thread) { m_thread = thread; }
70 SharedWorkerThread* thread() { return m_thread.get(); }
103 GroupSettings* groupSettings() const; // Page GroupSettings used by worker thread.
112 // The thread is freed when the proxy is destroyed, so we need to make sure that the proxy stays around until the SharedWorkerContext exits.
126 // We should be the sole owner of the SecurityOrigin, as we will free it on another thread.
255 // Stop the worker thread - the proxy will stay around until we get workerThreadExited() notification.
279 // Since close() stops the thread event loop, this should not ever get called while closing.
336 // Hand off the just-loaded code to the repository to start up the worker thread.
367 // Another loader may have already started up a thread for this proxy - if so, just send a connect to the pre-existing thread.
368 if (!proxy.thread()) {
369 RefPtr<SharedWorkerThread> thread = SharedWorkerThread::create(proxy.name(), proxy.url(), userAgent, proxy.groupSettings(), workerScript, proxy, proxy, DontPauseWorkerContextOnStart, contentSecurityPolicy, contentSecurityPolicyType);
370 proxy.setThread(thread);
371 thread->start();
373 proxy.thread()->runLoop().postTask(SharedWorkerConnectTask::create(port));
420 if (proxy->thread())
421 proxy->thread()->runLoop().postTask(SharedWorkerConnectTask::create(port));
432 // Items in the cache are freed on another thread, so do a threadsafe copy of the URL before creating the origin,