/external/qemu/ |
qemu-thread.c | 2 * Wrappers around mutex/cond/thread functions 20 #include "qemu-thread.h" 152 void qemu_thread_create(QemuThread *thread, 163 err = pthread_create(&thread->thread, NULL, start_routine, arg); 170 void qemu_thread_signal(QemuThread *thread, int sig) 174 err = pthread_kill(thread->thread, sig); 179 void qemu_thread_self(QemuThread *thread) 181 thread->thread = pthread_self() [all...] |
/external/valgrind/main/drd/ |
drd_vc.h | 2 This file is part of drd, a thread error detector. 31 * - One counter per thread. 32 * - A vector clock is implemented as multiple pairs of (thread id, counter). 33 * - Pairs are stored in an array sorted by thread id. 36 * - Each time a thread performs an action that implies an ordering between 37 * intra-thread events, the counter of that thread is incremented. 39 * - When a thread synchronization action is performed that guarantees that 40 * new actions of the current thread are executed after the actions of the 41 * other thread, the vector clock of the synchronization object and th [all...] |
/external/valgrind/main/helgrind/tests/ |
tc22_exit_w_lock.stderr.exp | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x was created 12 Thread #x: Exiting thread still holds 2 locks 15 ---Thread-Announcement------------------------------------------ 17 Thread #x was created 25 Thread #x: Exiting thread still holds 1 lock 28 ---Thread-Announcement------------------------------------------ 30 Thread #x is the program's root threa [all...] |
tc22_exit_w_lock.stderr.exp-kfail-x86 | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x was created 12 Thread #x: Exiting thread still holds 2 locks 15 ---Thread-Announcement------------------------------------------ 17 Thread #x was created 25 Thread #x: Exiting thread still holds 1 lock 28 ---Thread-Announcement------------------------------------------ 30 Thread #x is the program's root threa [all...] |
filter_stderr | 10 # get rid of the numbers in bits of text "Thread #n", "thread #n", 11 # "Thread n" and "thread n", 30 -e "/^Helgrind, a thread error detector/ , /./ d" \
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Executor.java | 12 * mechanics of how each task will be run, including details of thread 15 * invoking <tt>new Thread(new(RunnableTask())).start()</tt> for each 28 * thread: 37 * More typically, tasks are executed in some thread other 38 * than the caller's thread. The executor below spawns a new thread 44 * new Thread(r).start(); 88 * extensible thread pool implementation. The {@link Executors} class 91 * <p>Memory consistency effects: Actions in a thread prior to 94 * its execution begins, perhaps in another thread [all...] |
/dalvik/tests/036-finalizer/src/ |
Main.java | 14 Thread.sleep(ms); 22 * Make ft in another thread, so there is no danger of 23 * a conservative reference leaking onto the main thread's 28 Thread t = new Thread() { 49 * Do the work in another thread, so there is no danger of a 50 * conservative reference to ft leaking onto the main thread's 55 Thread t = new Thread() {
|
/external/chromium/base/ |
message_loop_proxy_impl_unittest.cc | 8 #include "base/threading/thread.h" 34 io_thread_.reset(new base::Thread("MessageLoopProxyImplTest_IO")); 35 file_thread_.reset(new base::Thread("MessageLoopProxyImplTest_File")); 78 scoped_ptr<base::Thread> io_thread_; 79 scoped_ptr<base::Thread> file_thread_; 105 scoped_ptr<base::Thread> test_thread( 106 new base::Thread("MessageLoopProxyImplTest_Dummy")); 122 scoped_ptr<base::Thread> test_thread( 123 new base::Thread("MessageLoopProxyImplTest_Dummy"));
|
/external/chromium-trace/trace-viewer/src/model/ |
thread_test.html | 9 <title>Thread tests</title> 23 var Thread = tracing.model.Thread; 29 var t = new Thread(new Process(7), 1); 36 var t = new Thread(new Process(7), 1); 44 var t = new Thread(new Process(7), 1); 53 var t = new Thread(new Process(7), 1); 61 var t = new Thread(new Process(7), 1); 80 var t = new Thread(new Process(7), 1);
|
/external/linux-tools-perf/util/ |
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);
|
/external/qemu/distrib/sdl-1.2.15/src/thread/irix/ |
SDL_systhread.c | 24 /* IRIX thread management routines for SDL */ 42 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 44 /* Create the thread and go! */ 46 SDL_SetError("Not enough resources to create thread"); 57 /* Mask asynchronous signals for this thread */ 72 void SDL_WaitThread(SDL_Thread *thread, int *status) 76 waitpid(thread->handle, NULL, 0); 81 void SDL_KillThread(SDL_Thread *thread) 83 kill(thread->handle, SIGKILL);
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.class/thread.thread.constr/ |
copy.fail.cpp | 10 // <thread> 12 // class thread 14 // thread(const thread&) = delete; 16 #include <thread> 57 std::thread t0(G(), 5, 5.5); 58 std::thread::id id = t0.get_id(); 59 std::thread t1 = t0; 61 assert(t0.get_id() == std::thread::id());
|
move.pass.cpp | 10 // <thread> 12 // class thread 14 // thread(thread&& t); 16 #include <thread> 58 std::thread t0(G(), 5, 5.5); 59 std::thread::id id = t0.get_id(); 60 std::thread t1 = std::move(t0); 62 assert(t0.get_id() == std::thread::id());
|
/development/tools/axl/ |
chewie.py | 52 # thread, queued, opened, send, sent, reading, read, uri, server, y 92 thread, action = x[1], x[2] 97 # save opened time and server for this thread, so we can stuff it in l8r 98 time, thread, host = x[0], x[1], x[4] 99 opened[thread] = [time, host, connectionCount] 102 time, thread, url = x[0], x[1], x[3] 103 opentime, host, connection = opened[thread] 105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection] 106 active[thread].append(record) 108 time, thread = x[0], x[1 [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
WaitingThread.java | 39 * Represents a thread waiting for a connection. 41 * a thread needs to wait. Instances are not re-used, except if the 42 * waiting thread experiences a spurious wakeup and continues to wait. 52 /** The condition on which the thread is waiting. */ 55 /** The route specific pool on which the thread is waiting. */ 59 /** The thread that is waiting for an entry. */ 60 private Thread waiter; 67 * Creates a new entry for a waiting thread. 70 * @param pool the pool on which the thread will be waiting, 98 * @return the pool on which a thread is or was waiting [all...] |
/external/chromium/base/synchronization/ |
cancellation_flag.h | 15 // CancellationFlag allows one thread to cancel jobs executed on some worker 16 // thread. Calling Set() from one thread and IsSet() from a number of threads 17 // is thread-safe. 29 // Set the flag. May only be called on the thread which owns the object.
|
/external/chromium/base/threading/ |
non_thread_safe_impl.h | 15 // temporary use in release mode e.g. when you need to CHECK on a thread 27 // Changes the thread that is checked for in CalledOnValidThread. The next 28 // call to CalledOnValidThread will attach this class to a new thread. It is 30 // This may be useful when an object may be created on one thread and then 31 // used exclusively on another thread.
|
thread_restrictions.cc | 37 "Function marked as IO-only was called from a thread that " 38 "disallows IO! If this thread really should be allowed to " 40 "base::ThreadRestrictions::SetIOAllowed() in this thread's " 55 << "thread. Most likely it's because this thread is not "
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_service.h | 13 // BookmarkService provides a thread safe view of bookmarks. It is used by 22 // If not on the main thread you *must* invoke BlockTillLoaded first. 29 // If not on the main thread you *must* invoke BlockTillLoaded first. 32 // Blocks until loaded. This is intended for usage on a thread other than 33 // the main thread.
|
/external/chromium/chrome/browser/ssl/ |
ssl_cert_error_handler.h | 19 // SSL session. A CertError object exists both on the IO thread and on the UI 20 // thread and allows us to cancel/continue a request it is associated with. 23 // Construct on the IO thread. 32 // These accessors are available on either thread 44 // These read-only members may be accessed on any thread.
|
ssl_error_handler.h | 26 // An SSLErrorHandler carries information from the IO thread to the UI thread 28 // UI thread. Subclasses should override the OnDispatched/OnDispatchFailed 29 // methods to implement the actions that should be taken on the UI thread. 47 // Call on UI thread. 50 // Available on either thread. 53 // Available on either thread. 57 // called from the UI thread. 86 // Construct on the IO thread. 99 // Should only be accessed on the UI thread [all...] |
/external/compiler-rt/lib/tsan/lit_tests/ |
race_with_finished_thread.cc | 8 // Ensure that we can restore a stack of a finished thread. 37 // CHECK: Write of size 4 at {{.*}} by thread T2: 38 // CHECK: Previous write of size 4 at {{.*}} by thread T1: 41 // CHECK: Thread T1 (tid={{.*}}, finished) created by main thread at:
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowHandlerThread.java | 18 private HandlerThread thread; field in class:ShadowHandlerThread 41 if (!thread.isAlive()) { 45 // If the thread has been started, wait until the looper has been created. 47 while (thread.isAlive() && looper == null) { 73 prepared.invoke(thread);
|
/external/valgrind/main/drd/tests/ |
annotate_trace_memory.stderr.exp-32bit | 3 store 0x........ size 4 val 1065353216/0x........ (thread x / vc ...) 5 load 0x........ size 4 (thread x / vc ...) 7 store 0x........ size 4 val 1077936128/0x........ (thread x / vc ...) 10 store 0x........ size 8 val 4613937818241073152/0x........ (thread x / vc ...) 12 load 0x........ size 8 (thread x / vc ...) 14 store 0x........ size 8 val 4619567317775286272/0x........ (thread x / vc ...) 17 store 0x........ size 1 val 5/0x........ (thread x / vc ...) 19 load 0x........ size 1 (thread x / vc ...) 21 store 0x........ size 1 val 11/0x........ (thread x / vc ...) 24 store 0x........ size 2 val 7/0x........ (thread x / vc ... [all...] |
hg03_inherit.stderr.exp | 2 Thread 3: 3 Conflicting store by thread 3 at 0x........ size 4 7 declared at hg03_inherit.c:11, in frame #? of thread 3 9 Conflicting store by thread 3 at 0x........ size 4 13 declared at hg03_inherit.c:11, in frame #? of thread 3
|