/external/qemu/audio/ |
H A D | audio_pt_int.h | 8 pthread_t thread; member in struct:audio_pt
|
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/ |
H A D | SDL_systhread.c | 30 #include <kos/thread.h> 32 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument 34 thread->handle = thd_create(SDL_RunThread,args); 35 if (thread->handle == NULL) { 36 SDL_SetError("Not enough resources to create thread"); 52 void SDL_SYS_WaitThread(SDL_Thread *thread) argument 54 thd_wait(thread->handle); 57 void SDL_SYS_KillThread(SDL_Thread *thread) argument 59 thd_destroy(thread->handle);
|
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/ |
H A D | SDL_systhread.c | 29 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument 45 void SDL_SYS_WaitThread(SDL_Thread *thread) argument 50 void SDL_SYS_KillThread(SDL_Thread *thread) argument
|
/external/qemu/ |
H A D | qemu-thread.h | 15 pthread_t thread; member in struct:QemuThread 36 void qemu_thread_create(QemuThread *thread, 39 void qemu_thread_signal(QemuThread *thread, int sig); 40 void qemu_thread_self(QemuThread *thread);
|
/external/valgrind/main/drd/tests/ |
H A D | pth_barrier_race.c | 22 static void* thread(void* arg) function 35 pthread_create(&tid, NULL, thread, NULL); 40 * happens after the created thread has returned from pthread_barrier_wait().
|
H A D | pth_detached3.c | 1 /* Invoke pthread_detach() with an invalid thread ID. */ 15 pthread_t thread; local 17 pthread_create(&thread, NULL, thread_func, NULL); 18 pthread_join(thread, NULL); 20 /* Invoke pthread_detach() with the thread ID of a joined thread. */ 21 pthread_detach(thread); 23 /* Invoke pthread_detach() with an invalid thread ID. */ 24 pthread_detach(thread + 1);
|
H A D | pth_cancel_locked.c | 1 /** Cancel a thread that holds a lock on a mutex. */ 14 static void* thread(void* arg) function 18 /* Inform the main thread that s_mutex2 has been locked, and wait for pthread_cancel(). */ 34 /* Create thread. */ 36 pthread_create(&tid, 0, &thread, 0); 38 /* Wait until the created thread has locked s_mutex2. */ 42 /* Cancel the created thread. */ 45 /* Join the created thread. */
|
/external/valgrind/main/helgrind/tests/ |
H A D | pth_destroy_cond.c | 10 pthread_t thread; variable 29 pthread_create(&thread, NULL, ThreadFunction, (void*) NULL); 35 pthread_join(thread, NULL);
|
/external/bison/lib/glthread/ |
H A D | threadlib.c | 32 /* The function to be executed by a dummy thread. */ 47 pthread_t thread; local 49 if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) 56 if (pthread_join (thread, &retval) != 0)
|
/external/chromium/base/synchronization/ |
H A D | waitable_event_unittest.cc | 95 PlatformThreadHandle thread; local 96 PlatformThread::Create(0, &signaler, &thread); 100 PlatformThread::Join(thread);
|
/external/chromium/chrome/browser/ui/webui/options/ |
H A D | advanced_options_utils_win.cc | 14 #include "base/threading/thread.h" 55 base::Thread* thread = g_browser_process->file_thread(); local 56 DCHECK(thread); 57 thread->message_loop()->PostTask(FROM_HERE, new OpenConnectionDialogTask);
|
/external/chromium/third_party/libjingle/source/talk/examples/login/ |
H A D | login_main.cc | 31 #include "talk/base/thread.h" 44 // Start xmpp on a different thread 45 XmppThread thread; local 46 thread.Start(); 54 thread.Login(xcs); 56 // Use main thread for console input
|
/external/clang/test/CodeGen/ |
H A D | 2003-11-27-ConstructorCast.c | 13 struct thread_struct thread = (struct thread_struct) { {{0}} }; local
|
H A D | 2003-11-27-UnionCtorInitialization.c | 15 struct thread_struct thread = (struct thread_struct) { {{0}} }; local
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testerror.c | 22 /* Set the child thread error string */ 29 printf("Child thread error string: %s\n", SDL_GetError()); 35 SDL_Thread *thread; local 43 /* Set the error value for the main thread */ 47 thread = SDL_CreateThread(ThreadFunc, "#1"); 48 if ( thread == NULL ) { 49 fprintf(stderr, "Couldn't create thread: %s\n", SDL_GetError()); 53 printf("Waiting for thread #1\n"); 55 SDL_WaitThread(thread, NULL); 57 printf("Main thread erro [all...] |
/external/smack/src/org/jivesoftware/smack/filter/ |
H A D | ThreadFilter.java | 27 * Filters for message packets with a particular thread value. 33 private String thread; field in class:ThreadFilter 36 * Creates a new thread filter using the specified thread value. 38 * @param thread the thread value to filter for. 40 public ThreadFilter(String thread) { argument 41 if (thread == null) { 44 this.thread = thread; [all...] |
/external/v8/test/cctest/ |
H A D | test-platform-tls.cc | 63 TestThread thread; local 64 thread.Start(); 65 thread.Join();
|
/external/valgrind/main/none/tests/s390x/ |
H A D | ex_clone.c | 13 pthread_t thread; variable 42 pthread_create(&thread, NULL, threadfunc, NULL); 57 pthread_join(thread, NULL);
|
/external/webkit/Source/WebCore/storage/ |
H A D | LocalStorageTask.cpp | 46 LocalStorageTask::LocalStorageTask(Type type, LocalStorageThread* thread) argument 49 , m_thread(thread)
|
/external/webkit/Source/WebKit/chromium/tests/ |
H A D | CCThreadTest.cpp | 53 OwnPtr<CCThread> thread = CCThread::create(); local 56 thread->postTask(createCCThreadTask(&target, &PingPongUsingCondition::ping, &completion)); 59 EXPECT_EQ(thread->threadID(), target.hitThreadID); 81 OwnPtr<CCThread> thread = CCThread::create(); local 84 thread->postTask(createCCThreadTask(&target, &PingPongTestUsingTasks::ping));
|
/external/chromium/base/threading/ |
H A D | platform_thread_unittest.cc | 11 // Trivial tests that thread runs and doesn't crash on create and join --------- 30 TrivialThread thread; local 33 ASSERT_FALSE(thread.did_run()); 34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 36 ASSERT_TRUE(thread.did_run()); 40 TrivialThread thread[10]; local 41 PlatformThreadHandle handle[arraysize(thread)]; 43 for (size_t n = 0; n < arraysize(thread); n++) 44 ASSERT_FALSE(thread[n].did_run()); 45 for (size_t n = 0; n < arraysize(thread); 78 FunctionTestThread thread; local 91 FunctionTestThread thread[10]; local [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
H A D | udpport.h | 48 static UDPPort* Create(talk_base::Thread* thread, argument 52 UDPPort* port = new UDPPort(thread, factory, network, 70 UDPPort(talk_base::Thread* thread, talk_base::PacketSocketFactory* factory,
|
/external/compiler-rt/lib/asan/lit_tests/ |
H A D | deep_thread_stack.cc | 33 pthread_t thread; local 34 pthread_create(&thread, NULL, (callback_type)function, NULL); 35 pthread_join(thread, NULL); 53 // CHECK: WRITE of size 4 at 0x{{.*}} thread T[[ACCESS_THREAD:[0-9]+]] 54 // CHECK: freed by thread T[[FREE_THREAD:[0-9]+]] here: 55 // CHECK: previously allocated by thread T[[ALLOC_THREAD:[0-9]+]] here:
|
/external/linux-tools-perf/scripts/python/ |
H A D | sctop.py | 11 import os, sys, thread, time namespace 42 thread.start_new_thread(print_syscall_totals, (interval,))
|
/external/linux-tools-perf/util/ |
H A D | build-id.c | 28 struct thread *thread = perf_session__findnew(session, event->ip.pid); local 30 if (thread == NULL) { 36 thread__find_addr_map(thread, session, cpumode, MAP__FUNCTION, 49 struct thread *thread = perf_session__findnew(session, event->fork.tid); local 54 if (thread) { 55 rb_erase(&thread->rb_node, &session->threads); 57 thread__delete(thread);
|