HomeSort by relevance Sort by last modified time
    Searched refs:thread (Results 1 - 25 of 1608) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/none/tests/
pth_blockedsig.stdout.exp 0 thread CHILD sending SIGUSR1 to thread MAIN
pth_once.stdout.exp 2 identify_yourself: Hi, I'm a thread
3 identify_yourself: Hi, I'm a thread
4 identify_yourself: Hi, I'm a thread
5 identify_yourself: Hi, I'm a thread
6 identify_yourself: Hi, I'm a thread
7 identify_yourself: Hi, I'm a thread
8 identify_yourself: Hi, I'm a thread
9 identify_yourself: Hi, I'm a thread
10 identify_yourself: Hi, I'm a thread
11 identify_yourself: Hi, I'm a thread
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_getunique_np.c 5 * This translation unit implements non-portable thread functions.
44 pthread_getunique_np (pthread_t thread)
46 return ((ptw32_thread_t*)thread.p)->seqNumber;
pthread_getw32threadhandle_np.c 5 * This translation unit implements non-portable thread functions.
43 * Returns the win32 thread handle that the POSIX
44 * thread "thread" is running as.
47 * win32 specific attributes of the thread.
50 pthread_getw32threadhandle_np (pthread_t thread)
52 return ((ptw32_thread_t *)thread.p)->threadH;
58 * Returns the win32 thread id that the POSIX
59 * thread "thread" is running as
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.static/
hardware_concurrency.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
21 assert(std::thread::hardware_concurrency() > 0);
  /external/qemu/distrib/sdl-1.2.15/src/thread/generic/
SDL_systhread.c 24 /* Thread management routines for SDL */
29 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
45 void SDL_SYS_WaitThread(SDL_Thread *thread)
50 void SDL_SYS_KillThread(SDL_Thread *thread)
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
default.pass.cpp 10 // <thread>
12 // class thread
14 // thread();
16 #include <thread>
21 std::thread t;
22 assert(t.get_id() == std::thread::id());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.id/
default.pass.cpp 10 // <thread>
12 // class thread::id
16 #include <thread>
21 std::thread::id id;
22 assert(id == std::thread::id());
copy.pass.cpp 10 // <thread>
12 // class thread::id
16 #include <thread>
21 std::thread::id id0;
22 std::thread::id id1 = id0;
  /bionic/libc/bionic/
pthread_internals.cpp 37 void _pthread_internal_remove_locked(pthread_internal_t* thread) {
38 if (thread->next != NULL) {
39 thread->next->prev = thread->prev;
41 if (thread->prev != NULL) {
42 thread->prev->next = thread->next;
44 gThreadList = thread->next;
47 // The main thread is not heap-allocated. See __libc_init_tls for the declaration,
48 // and __libc_init_common for the point where it's added to the thread list
    [all...]
pthread_join.cpp 38 pthread_accessor thread(t);
39 if (thread.get() == NULL) {
43 if (thread->attr.flags & PTHREAD_ATTR_FLAG_DETACHED) {
47 if (thread->attr.flags & PTHREAD_ATTR_FLAG_JOINED) {
51 // Signal our intention to join, and wait for the thread to exit.
52 thread->attr.flags |= PTHREAD_ATTR_FLAG_JOINED;
53 while ((thread->attr.flags & PTHREAD_ATTR_FLAG_ZOMBIE) == 0) {
54 pthread_cond_wait(&thread->join_cond, &gThreadListLock);
57 *ret_val = thread->return_value;
60 _pthread_internal_remove_locked(thread.get())
    [all...]
pthread_detach.cpp 34 pthread_accessor thread(t);
35 if (thread.get() == NULL) {
39 if (thread->attr.flags & PTHREAD_ATTR_FLAG_DETACHED) {
43 if (thread->attr.flags & PTHREAD_ATTR_FLAG_JOINED) {
47 thread->attr.flags |= PTHREAD_ATTR_FLAG_DETACHED;
pthread_getschedparam.cpp 37 pthread_accessor thread(t);
38 if (thread.get() == NULL) {
42 int rc = sched_getparam(thread->tid, param);
46 *policy = sched_getscheduler(thread->tid);
  /external/qemu/distrib/sdl-1.2.15/src/thread/dc/
SDL_systhread.c 24 /* Thread management routines for SDL */
30 #include <kos/thread.h>
32 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
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)
54 thd_wait(thread->handle);
57 void SDL_SYS_KillThread(SDL_Thread *thread)
59 thd_destroy(thread->handle)
    [all...]
  /art/runtime/entrypoints/quick/
quick_thread_entrypoints.cc 19 #include "thread.h"
24 void CheckSuspendFromCode(Thread* thread)
26 // Called when thread->suspend_count_ != 0 on JNI return. JNI method acts as callee-save frame.
27 thread->VerifyStack();
28 CheckSuspend(thread);
31 extern "C" void artTestSuspendFromCode(Thread* thread, mirror::ArtMethod** sp)
33 // Called when suspend count check value is 0 and thread->suspend_count_ != 0
34 FinishCalleeSaveFrameSetup(thread, sp, Runtime::kRefsOnly)
    [all...]
  /external/lzma/CPP/Windows/
Thread.h 1 // Windows/Thread.h
14 ::CThread thread; member in class:NWindows::CThread
16 CThread() { Thread_Construct(&thread); }
18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; }
19 WRes Close() { return Thread_Close(&thread); }
21 { return Thread_Create(&thread, startAddress, parameter); }
22 WRes Wait() { return Thread_Wait(&thread); }
25 operator HANDLE() { return thread; }
26 void Attach(HANDLE handle) { thread = handle; }
27 HANDLE Detach() { HANDLE h = thread; thread = NULL; return h; }
    [all...]
  /external/valgrind/main/drd/tests/
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);
tc21_pthonce.stdout.exp 2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/
get_id.pass.cpp 10 // <thread>
12 // thread::id this_thread::get_id();
14 #include <thread>
19 std::thread::id id = std::this_thread::get_id();
20 assert(id != std::thread::id());
  /art/runtime/entrypoints/portable/
portable_lock_entrypoints.cc 22 extern "C" void art_portable_lock_object_from_code(mirror::Object* obj, Thread* thread)
25 obj->MonitorEnter(thread); // May block.
26 DCHECK(thread->HoldsLock(obj));
28 DCHECK(!thread->IsExceptionPending());
31 extern "C" void art_portable_unlock_object_from_code(mirror::Object* obj, Thread* thread)
35 obj->MonitorExit(thread);
  /external/smack/src/org/jivesoftware/smack/filter/
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) {
41 if (thread == null) {
42 throw new IllegalArgumentException("Thread cannot be null.");
44 this.thread = thread
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/
types.pass.cpp 10 // <thread>
12 // class thread
19 #include <thread>
24 static_assert((std::is_same<std::thread::native_handle_type, pthread_t>::value), "");
  /external/chromium_org/base/threading/
platform_thread_unittest.cc 12 // Trivial tests that thread runs and doesn't crash on create and join ---------
31 TrivialThread thread; local
34 ASSERT_FALSE(thread.did_run());
35 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
37 ASSERT_TRUE(thread.did_run());
41 TrivialThread thread[10]; local
42 PlatformThreadHandle handle[arraysize(thread)];
44 for (size_t n = 0; n < arraysize(thread); n++)
45 ASSERT_FALSE(thread[n].did_run());
46 for (size_t n = 0; n < arraysize(thread); n++
82 FunctionTestThread thread; local
98 FunctionTestThread thread[10]; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserThread.cpp 51 static HTMLParserThread* thread; local
52 if (!thread)
53 thread = new HTMLParserThread;
54 return thread;
  /external/qemu/distrib/sdl-1.2.15/src/thread/
SDL_systhread.h 31 /* This function creates a thread, passing args to SDL_RunThread(),
32 saves a system-dependent thread id in thread->id, and returns 0
36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
41 /* This function does any necessary setup in the child thread */
44 /* This function waits for the thread to finish and frees any data
47 extern void SDL_SYS_WaitThread(SDL_Thread *thread);
49 /* This function kills the thread and returns */
50 extern void SDL_SYS_KillThread(SDL_Thread *thread);
    [all...]

Completed in 260 milliseconds

1 2 3 4 5 6 7 8 91011>>