HomeSort by relevance Sort by last modified time
    Searched defs:thread (Results 101 - 125 of 684) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/libxml/src/
regressions.py 2 import glob, os, string, sys, thread, time namespace
33 # list already read in by a separate thread; the second is a file descriptor.
172 th1 = thread.start_new_thread(readPfile, (pout, outfile, th1Flag))
173 th2 = thread.start_new_thread(readPfile, (perr, errfile, th2Flag))
  /external/chromium_org/third_party/webrtc/modules/utility/source/
process_thread_impl.cc 70 ThreadWrapper* thread = _thread; local
76 if(thread->Stop())
78 delete thread;
103 // Wake the thread calling ProcessThreadImpl::Process() to update the
131 // Wait for the module that should be called next, but don't block thread
  /external/chromium_org/third_party/webrtc/system_wrappers/source/
critical_section_unittest.cc 88 ThreadWrapper* thread = ThreadWrapper::CreateThread( variable
92 ASSERT_TRUE(thread->Start(id));
97 // Thus, the thread should not be able to increment the count
99 crit_sect->Leave(); // This frees the thread to act.
101 EXPECT_TRUE(thread->Stop());
102 delete thread;
117 ThreadWrapper* thread = ThreadWrapper::CreateThread(&LockUnlockRunFunction, variable
121 ASSERT_TRUE(thread->Start(id));
124 // The thread is capable of grabbing the lock multiple times,
130 // The thread does not increment while lock is held
    [all...]
  /external/chromium_org/win8/test/
open_with_dialog_async.cc 6 // SHOpenWithDialog function. The call is made on a dedicated UI thread in a
20 #include "base/threading/thread.h"
37 base::Thread thread; member in struct:win8::__anon21258::OpenWithContext
53 : thread("OpenWithDialog"),
60 thread.init_com_with_mta(false);
61 thread.Start();
67 // SHOpenWithDialog on the caller's initial thread.
72 // Join with the thread.
80 // thread
    [all...]
  /external/clang/tools/scan-view/
scan-view 8 import thread namespace
123 # Kick off thread to wait for server and start web browser, if
126 t = thread.start_new_thread(start_browser, (port,options))
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
thread.h 9 struct thread { struct
20 bool dead; /* if set thread has exited */
29 struct thread *thread__new(pid_t pid, pid_t tid);
30 void thread__delete(struct thread *self);
31 static inline void thread__exited(struct thread *thread)
33 thread->dead = true;
36 int thread__set_comm(struct thread *self, const char *comm);
37 int thread__comm_len(struct thread *self);
38 void thread__insert_map(struct thread *self, struct map *map)
    [all...]
  /external/lldb/examples/python/
disasm.py 64 # Get the first thread
65 thread = process.GetThreadAtIndex (0) variable
66 if thread:
67 # Print some simple thread info
68 print thread
70 frame = thread.GetFrameAtIndex (0)
  /external/lldb/source/Plugins/Process/Linux/
ProcessLinux.cpp 145 // thread calls this function, so we don't need to protect this flag.
154 // Walk the thread list and stop the other threads. The thread that caused
161 POSIXThread *thread = static_cast<POSIXThread*>( local
163 assert(thread);
164 lldb::tid_t tid = thread->GetID();
165 if (!StateIsStoppedState(thread->GetState(), false))
  /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/qemu/util/
compatfd.c 21 #include "qemu/thread.h"
76 QemuThread thread; local
96 qemu_thread_create(&thread, sigwait_compat, info, QEMU_THREAD_DETACHED);
  /external/webrtc/src/system_wrappers/source/
thread_unittest.cc 69 ThreadWrapper* thread = ThreadWrapper::CreateThread(&NullRunFunction); local
71 ASSERT_TRUE(thread->Start(id));
72 EXPECT_TRUE(thread->Stop());
73 delete thread;
85 ThreadWrapper* thread = ThreadWrapper::CreateThread(&SetFlagRunFunction, local
88 ASSERT_TRUE(thread->Start(id));
90 EXPECT_TRUE(thread->Stop());
91 // We expect the thread to have run at least once.
93 delete thread;
thread_win.cc 41 // Set the thread name to appear in the VS debugger.
157 // Wait up to 2 seconds for the thread to complete.
191 "Thread with name:%s started ", _name);
192 SetThreadName(-1, _name); // -1, set thread name for the calling thread.
196 "Thread without name started");
215 "Thread with name:%s stopped", _name);
218 "Thread without name stopped");
225 HANDLE thread = _thread; local
227 CloseHandle(thread);
    [all...]
  /hardware/qcom/gps/loc_api/libloc_api_50001/
loc_eng_ni.h 41 pthread_t thread; /* NI thread */ member in struct:__anon40979
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
Exynos_OSAL_Thread.c 60 EXYNOS_THREAD_HANDLE_TYPE *thread; local
63 thread = Exynos_OSAL_Malloc(sizeof(EXYNOS_THREAD_HANDLE_TYPE));
64 Exynos_OSAL_Memset(thread, 0, sizeof(EXYNOS_THREAD_HANDLE_TYPE));
66 pthread_attr_init(&thread->attr);
67 if (thread->stack_size != 0)
68 pthread_attr_setstacksize(&thread->attr, thread->stack_size);
71 if (thread->schedparam.sched_priority != 0)
72 pthread_attr_setschedparam(&thread->attr, &thread->schedparam)
113 EXYNOS_THREAD_HANDLE_TYPE *thread = (EXYNOS_THREAD_HANDLE_TYPE *)threadHandle; local
135 EXYNOS_THREAD_HANDLE_TYPE *thread = (EXYNOS_THREAD_HANDLE_TYPE *)threadHandle; local
    [all...]
  /prebuilts/misc/darwin-x86/analyzer/tools/scan-view/
scan-view 8 import thread namespace
123 # Kick off thread to wait for server and start web browser, if
126 t = thread.start_new_thread(start_browser, (port,options))
  /prebuilts/misc/linux-x86/analyzer/tools/scan-view/
scan-view 8 import thread namespace
123 # Kick off thread to wait for server and start web browser, if
126 t = thread.start_new_thread(start_browser, (port,options))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_threaded_import.py 10 thread = import_module('thread') variable
12 critical_section = thread.allocate_lock()
13 done = thread.allocate_lock()
22 # thread can exit and set critical_section to None as part of global
45 # Tricky: When regrtest imports this module, the thread running regrtest
67 thread.start_new_thread(task, ())
test_threadsignals.py 8 thread = import_module('thread') variable
14 signalled_all=thread.allocate_lock()
28 signal_blackboard[sig]['tripped_by'] = thread.get_ident()
30 # a function that will be spawned as a separate thread.
38 We spawn a thread, have the thread send two signals, and
40 and that they were run by the main thread.
49 # (it might even be after the thread exits
61 thread.get_ident()
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_threaded_import.py 10 thread = import_module('thread') variable
12 critical_section = thread.allocate_lock()
13 done = thread.allocate_lock()
22 # thread can exit and set critical_section to None as part of global
45 # Tricky: When regrtest imports this module, the thread running regrtest
67 thread.start_new_thread(task, ())
test_threadsignals.py 8 thread = import_module('thread') variable
14 signalled_all=thread.allocate_lock()
28 signal_blackboard[sig]['tripped_by'] = thread.get_ident()
30 # a function that will be spawned as a separate thread.
38 We spawn a thread, have the thread send two signals, and
40 and that they were run by the main thread.
49 # (it might even be after the thread exits
61 thread.get_ident()
    [all...]
  /system/core/fastbootd/
transport.c 118 pthread_t thread; local
133 pthread_create(&thread, &attr, transport_data_thread, thandle);
143 pthread_t thread; local
149 pthread_create(&thread, &attr, transport_connect_thread, transport);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ProcessManagerTest.java 31 Thread thread = null; field in class:ProcessManagerTest
60 thread = new Thread() {
77 Thread interruptThread = new Thread() {
85 thread.interrupt();
88 thread.start();
96 Thread.sleep(100);
101 thread.interrupt()
138 Thread thread = new Thread() { local
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java 40 * Test that interrupting a thread blocked on I/O causes that thread to throw
52 Thread.interrupted();
61 Thread.interrupted(); // clear interrupted bit
121 Thread thread = interruptMeLater(); local
127 confirmInterrupted(thread);
132 Thread thread = interruptMeLater(); local
138 confirmInterrupted(thread);
143 Thread thread = interruptMeLater(); local
154 Thread thread = interruptMeLater(); local
167 Thread thread = interruptMeLater(); local
180 Thread thread = interruptMeLater(); local
195 Thread thread = new Thread(new Runnable () { local
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 83 class MyThread extends Thread {
97 MyThread thread = new MyThread(); local
98 thread.start();
100 Thread.currentThread().sleep(TIME_UNIT);
101 thread.interrupt();
105 if (thread.errMsg != null) {
106 fail(thread.errMsg);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherThread.java 75 Thread thread = null; local
83 thread = new Thread(this);
84 thread.start();
86 thread.join();

Completed in 1878 milliseconds

1 2 3 45 6 7 8 91011>>