Searched defs:thread (Results 126 - 150 of 534) sorted by relevance

1234567891011>>

/external/mesa3d/src/glx/apple/
H A Dapple_glx_log.c76 uint64_t thread = 0; local
80 thread = (uint64_t)(uintptr_t)pthread_self();
83 pthread_threadid_np(NULL, &thread);
85 thread = (uint64_t)(uintptr_t)pthread_self();
88 pthread_threadid_np(NULL, &thread);
97 _asl_level_string(level), file, line, function, thread);
117 asprintf(&_thread, "%"PRIu64, thread);
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
H A DSDL_systhread.c24 /* OS/2 thread management routines for SDL */
46 // Call the thread function!
60 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread) argument
65 SDL_SetError("Not enough memory to create thread");
71 // Also save the real parameters we have to pass to thread function
73 // Start the thread using the runtime library of calling app!
74 thread->threadid = thread->handle = (*pfnBeginThread)(threadfunc, NULL, 512*1024, pThreadParms);
75 if ((int)thread->threadid <= 0)
77 SDL_SetError("Not enough resources to create thread");
95 SDL_SYS_WaitThread(SDL_Thread *thread) argument
105 SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/external/qemu/util/
H A Dcompatfd.c21 #include "qemu/thread.h"
76 QemuThread thread; local
96 qemu_thread_create(&thread, sigwait_compat, info, QEMU_THREAD_DETACHED);
/external/valgrind/main/drd/tests/
H A Dpth_detached.c54 // thread attributes.
57 pthread_t thread; local
58 pthread_create(&thread, &attr, thread_func1, NULL);
66 pthread_t thread; local
67 pthread_create(&thread, &attr, thread_func2, NULL);
/external/valgrind/main/none/tests/
H A Dpth_atfork1.c71 static void *thread (void *arg);
82 if (pthread_create (&th, NULL, thread, NULL) != 0)
83 error (EXIT_FAILURE, 0, "cannot create thread");
96 thread (void *arg) function
/external/bluetooth/bluedroid/osi/src/
H A Dthread.c32 #include "thread.h"
43 thread_t *thread; member in struct:start_arg
80 start.thread = ret;
98 void thread_free(thread_t *thread) { argument
99 if (!thread)
102 thread_stop(thread);
103 pthread_join(thread->pthread, NULL);
104 fixed_queue_free(thread->work_queue, free);
105 reactor_free(thread->reactor);
106 free(thread);
109 thread_post(thread_t *thread, thread_fn func, void *context) argument
130 thread_stop(thread_t *thread) argument
135 thread_name(const thread_t *thread) argument
144 thread_t *thread = start->thread; local
[all...]
/external/chromium_org/base/threading/
H A Dsimple_thread.cc31 DCHECK(!HasBeenStarted()) << "Tried to Start a thread multiple times.";
35 event_.Wait(); // Wait for the thread to complete initialization.
39 DCHECK(HasBeenStarted()) << "Tried to Join a never-started thread.";
40 DCHECK(!HasBeenJoined()) << "Tried to Join a thread multiple times.";
57 // We've initialized our new thread, signal that we're done to Start().
102 DelegateSimpleThread* thread = new DelegateSimpleThread(this, name_prefix_); local
103 thread->Start();
104 threads_.push_back(thread);
/external/chromium_org/base/win/
H A Dscoped_process_information_unittest.cc91 HANDLE thread = process_info.TakeThreadHandle(); local
92 EXPECT_EQ(kThreadHandle, thread);
104 HANDLE thread = process_info.TakeThreadHandle(); local
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_message_filter.cc59 const IPC::Message& message, content::BrowserThread::ID* thread) {
63 *thread = BrowserThread::UI;
58 OverrideThreadForMessage( const IPC::Message& message, content::BrowserThread::ID* thread) argument
/external/chromium_org/chrome/common/
H A Dprofiling.cc14 #include "base/threading/thread.h"
64 void FlushProfilingData(base::Thread* thread) { argument
83 thread->message_loop()->PostDelayedTask(
85 base::Bind(&FlushProfilingData, thread),
/external/chromium_org/content/browser/
H A Dpower_save_blocker_mac.cc14 #include "base/threading/thread.h"
19 // Power management cannot be done on the UI thread. IOPMAssertionCreate does a
20 // synchronous MIG call to configd, so if it is called on the main thread the UI
30 base::Thread* thread = new (instance) base::Thread("PowerSaveBlocker"); local
31 thread->Start();
32 return thread;
/external/chromium_org/content/public/browser/
H A Dbrowser_message_filter.h30 // send messages on any thread.
41 // called on the IO thread.
48 // derived classes the option of controlling which thread they're deleted
52 // IPC::Sender implementation. Can be called on any thread. Can't send sync
57 // a different thread, there are two options, either
59 // If neither is overriden, the message will be dispatched on the IO thread.
62 // browser thread, change |thread| to the id of the target thread
65 BrowserThread::ID* thread) {}
63 OverrideThreadForMessage( const IPC::Message& message, BrowserThread::ID* thread) argument
[all...]
/external/chromium_org/content/renderer/device_sensors/
H A Ddevice_orientation_event_pump.cc17 DeviceOrientationEventPump::DeviceOrientationEventPump(RenderThread* thread) argument
18 : DeviceSensorEventPump<blink::WebDeviceOrientationListener>(thread) {
/external/chromium_org/content/renderer/
H A Dgamepad_shared_memory_reader.cc19 GamepadSharedMemoryReader::GamepadSharedMemoryReader(RenderThread* thread) argument
20 : RendererGamepadProvider(thread),
89 // thread was taking unusually long. Don't copy the data to the output
/external/chromium_org/ppapi/native_client/tools/browser_tester/
H A Dbrowser_tester.py11 import thread namespace
264 # is done in its own thread so the main thread can time out as needed.
268 thread.start_new_thread(Serve, ())
337 # the HTTP server thread to exit uncleanly with an EBADF error,
/external/chromium_org/remoting/base/
H A Dauto_thread.cc42 // Fields describing the desired thread behaviour.
45 // Used to receive the AutoThreadTaskRunner for the thread.
48 // Used to synchronize thread startup.
60 AutoThread* thread = new AutoThread(name, joiner.get()); local
61 scoped_refptr<AutoThreadTaskRunner> task_runner = thread->StartWithType(type);
63 delete thread;
80 AutoThread* thread = new AutoThread(name, joiner); local
81 thread->SetComInitType(com_init_type);
83 thread->StartWithType(loop_type);
85 delete thread;
[all...]
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
H A Dinvasive.cc14 // entry point for the threads created by the thread bombing function.
30 // Create the thread and leak the handle.
31 HANDLE thread = ::CreateThread(NULL, // Default security attributes local
37 if (thread) {
38 fprintf(output, "[GRANTED] Creating thread with tid 0x%lX\r\n", tid);
39 ::CloseHandle(thread);
42 fprintf(output, "[BLOCKED] Creating thread. Error %ld\r\n",
56 // designed to take all CPU on the processor where the thread is running.
84 HANDLE thread = ::CreateThread(NULL, // Default security attributes. local
90 ::SetThreadAffinityMask(thread, affinity_mas
[all...]
/external/chromium_org/sandbox/win/src/
H A Dpolicy_target.cc74 NtSetInformationThreadFunction orig_SetInformationThread, HANDLE thread,
96 return orig_SetInformationThread(thread, thread_info_class,
105 // access to open the thread token.
107 NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread,
112 return orig_OpenThreadToken(thread, desired_access, open_as_self, token);
117 NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread,
123 return orig_OpenThreadTokenEx(thread, desired_access, open_as_self,
73 TargetNtSetInformationThread( NtSetInformationThreadFunction orig_SetInformationThread, HANDLE thread, NT_THREAD_INFORMATION_CLASS thread_info_class, PVOID thread_information, ULONG thread_information_bytes) argument
106 TargetNtOpenThreadToken( NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) argument
116 TargetNtOpenThreadTokenEx( NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, PHANDLE token) argument
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DWorkerDebuggerAgent.cpp46 explicit RunInspectorCommandsTask(WorkerThread* thread) argument
47 : m_thread(thread) { }
88 scriptDebugServer().interruptAndRunTask(adoptPtr(new RunInspectorCommandsTask(m_inspectedWorkerGlobalScope->thread())));
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DSharedWorkerGlobalScope.cpp54 PassRefPtrWillBeRawPtr<SharedWorkerGlobalScope> SharedWorkerGlobalScope::create(const String& name, SharedWorkerThread* thread, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) argument
56 RefPtrWillBeRawPtr<SharedWorkerGlobalScope> context = adoptRefWillBeNoop(new SharedWorkerGlobalScope(name, startupData->m_scriptURL, startupData->m_userAgent, thread, startupData->m_workerClients.release()));
61 SharedWorkerGlobalScope::SharedWorkerGlobalScope(const String& name, const KURL& url, const String& userAgent, SharedWorkerThread* thread, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) argument
62 : WorkerGlobalScope(url, userAgent, thread, monotonicallyIncreasingTime(), workerClients)
76 SharedWorkerThread* SharedWorkerGlobalScope::thread() function in class:blink::SharedWorkerGlobalScope
78 return static_cast<SharedWorkerThread*>(Base::thread());
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageFrameGeneratorTest.cpp166 OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("DecodeThread")); local
167 thread->postTask(new Task(WTF::bind(&decodeThreadMain, m_generator.get())));
168 thread.clear();
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebSharedWorkerImpl.h118 void setWorkerThread(PassRefPtr<WorkerThread> thread) { m_workerThread = thread; } argument
121 // Shuts down the worker thread.
131 // Tasks that are run on the main thread.
147 // This one's initialized and bound to the main thread.
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dbasicpacketsocketfactory.cc40 #include "webrtc/base/thread.h"
49 BasicPacketSocketFactory::BasicPacketSocketFactory(Thread* thread) argument
50 : thread_(thread),
H A Drelayport.h56 rtc::Thread* thread, rtc::PacketSocketFactory* factory,
60 return new RelayPort(thread, factory, network, ip, min_port, max_port,
86 RelayPort(rtc::Thread* thread, rtc::PacketSocketFactory* factory,
55 Create( rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, int min_port, int max_port, const std::string& username, const std::string& password) argument
H A Dtcpport.h48 static TCPPort* Create(rtc::Thread* thread, argument
56 TCPPort* port = new TCPPort(thread, factory, network,
77 TCPPort(rtc::Thread* thread, rtc::PacketSocketFactory* factory,

Completed in 7721 milliseconds

1234567891011>>