HomeSort by relevance Sort by last modified time
    Searched refs:thread (Results 351 - 375 of 2286) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
join.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
46 std::thread t0((G()));
joinable.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
46 std::thread t0((G()));
native_handle.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
46 std::thread t0((G()));
  /external/lldb/examples/python/
performance.py 66 """Class that encapsulates actions to take when a thread stops for a reason."""
70 def ThreadStopped (self, thread):
71 assert False, "performance.Action.ThreadStopped(self, thread) must be overridden in a subclass"
76 def ThreadStopped (self, thread):
77 if thread.GetStopReason() == lldb.eStopReasonPlanComplete:
80 self.callback (self.callback_owner, thread)
82 self.callback (thread)
115 def ThreadStopped (self, thread):
116 if thread.GetStopReason() == lldb.eStopReasonBreakpoint:
118 if bp.GetID() == thread.GetStopReasonDataAtIndex(0)
    [all...]
  /external/chromium_org/base/synchronization/
lock_unittest.cc 53 BasicLockTestThread thread(&lock);
56 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
87 EXPECT_GE(thread.acquired(), 20);
117 // This thread will not be able to get the lock.
119 TryLockTestThread thread(&lock);
122 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
126 ASSERT_FALSE(thread.got_lock());
131 // This thread will....
133 TryLockTestThread thread(&lock);
136 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle))
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/test/
lock_test.cc 63 BasicLockTestThread thread(&lock);
66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
97 EXPECT_GE(thread.acquired(), 20);
129 // This thread will not be able to get the lock.
131 TryLockTestThread thread(&lock);
134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
138 EXPECT_FALSE(thread.got_lock());
143 // This thread will....
145 TryLockTestThread thread(&lock);
148 EXPECT_TRUE(PlatformThread::Create(&thread, &handle))
    [all...]
  /external/sfntly/cpp/src/test/
lock_test.cc 63 BasicLockTestThread thread(&lock);
66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
97 EXPECT_GE(thread.acquired(), 20);
129 // This thread will not be able to get the lock.
131 TryLockTestThread thread(&lock);
134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
138 EXPECT_FALSE(thread.got_lock());
143 // This thread will....
145 TryLockTestThread thread(&lock);
148 EXPECT_TRUE(PlatformThread::Create(&thread, &handle))
    [all...]
  /external/lldb/test/python_api/frame/
TestFrames.py 72 thread = process.GetThreadAtIndex(0)
74 numFrames = min(3, thread.GetNumFrames())
76 frame = thread.GetFrameAtIndex(i)
149 thread = process.GetThreadAtIndex(0)
150 frame = thread.GetFrameAtIndex(0)
186 thread = process.GetThreadAtIndex(0)
187 self.assertTrue(thread)
189 frameEntered = thread.GetFrameAtIndex(0)
192 lldbutil.print_stacktrace(thread)
196 thread.StepOver(
    [all...]
  /libcore/libart/src/main/java/java/lang/
ThreadGroup.java 28 * This class is obsolete. See <i>Effective Java</i> Item 73, "Avoid thread groups" for details.
29 * @see Thread
31 public class ThreadGroup implements Thread.UncaughtExceptionHandler {
38 private int maxPriority = Thread.MAX_PRIORITY;
48 private final List<WeakReference<Thread>> threadRefs = new ArrayList<WeakReference<Thread>>(5);
54 private final Iterable<Thread> threads = CollectionUtils.dereferenceIterable(threadRefs, true);
57 * Thread groups. Access is guarded by synchronizing on this field.
73 * will be child of the {@code ThreadGroup} to which the calling thread belongs.
76 * @see Thread#currentThrea
342 Thread thread = threadRefs.get(i).get(); local
    [all...]
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
SocketHandlerTest.java 170 ServerThread thread = new ServerThread(); local
171 thread.start();
172 Thread.sleep(2000);
180 // ensure the thread exits and the port becomes available again
181 thread.getReadString();
204 ServerThread thread = new ServerThread(); local
205 thread.start();
206 Thread.sleep(2000);
214 // ensure the thread exits and the port becomes available again
215 thread.getReadString()
241 ServerThread thread = new ServerThread(); local
285 ServerThread thread = new ServerThread(); local
420 ServerThread thread = new ServerThread(); local
448 ServerThread thread = new ServerThread(); local
473 ServerThread thread = new ServerThread(); local
512 ServerThread thread = new ServerThread(); local
542 ServerThread thread = new ServerThread(); local
569 ServerThread thread = new ServerThread(); local
594 ServerThread thread = new ServerThread(); local
619 ServerThread thread = new ServerThread(); local
    [all...]
  /bionic/libc/bionic/
pthread_internal.h 33 /* Has the thread been detached by a pthread_join or pthread_detach call? */
36 /* Was the thread's stack allocated by the user rather than by us? */
39 /* Has the thread been joined by another thread? */
42 /* Is this the main thread? */
91 * per-thread buffer by simply using malloc(3) and free(3).
97 __LIBC_HIDDEN__ int __init_thread(pthread_internal_t* thread, bool add_to_thread_list);
98 __LIBC_HIDDEN__ void __init_tls(pthread_internal_t* thread);
100 __LIBC_HIDDEN__ void _pthread_internal_add(pthread_internal_t* thread);
106 __LIBC_HIDDEN__ void _pthread_internal_remove_locked(pthread_internal_t* thread);
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
MonitorContendedEnterAndEnteredDebuggee.java 31 BlockedThread thread; field in class:MonitorContendedEnterAndEnteredDebuggee
34 thread = new BlockedThread(logWriter,TESTED_THREAD);
37 logWriter.println("--> Main thread : started");
44 logWriter.println("main thread: start tested thread");
45 thread.start();
47 // wait and hold the lock until the second thread blocks
48 while (!thread.getState().equals(Thread.State.valueOf("BLOCKED"))){
49 Thread.yield()
    [all...]
  /external/chromium_org/chrome/browser/spellchecker/
spellcheck_message_filter_mac_unittest.cc 52 content::BrowserThread::ID thread; local
57 thread = content::BrowserThread::IO;
58 filter->OverrideThreadForMessage(message, &thread);
59 EXPECT_EQ(content::BrowserThread::UI, thread);
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_cancel.c 5 * POSIX thread functions related to thread cancellation.
75 pthread_cancel (pthread_t thread)
79 * This function requests cancellation of 'thread'.
82 * thread
87 * This function requests cancellation of 'thread'.
89 * wait for termination of 'thread' if necessary.
93 * ESRCH no thread found corresponding to 'thread',
94 * ENOMEM implicit self thread create failed
    [all...]
  /external/chromium_org/sandbox/linux/services/
thread_helpers.cc 21 #include "base/threading/thread.h"
33 // At least "..", "." and the current thread should be present.
57 base::Thread* thread) {
59 DCHECK(thread);
60 const base::PlatformThreadId thread_id = thread->thread_id();
63 // The kernel is at liberty to wake the thread id futex before updating
64 // /proc. Following Stop(), the thread is joined, but entries in /proc may
66 thread->Stop();
81 // The thread disappeared from /proc, we're done
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
maccocoasocketserver_unittest.mm 30 #include "talk/base/thread.h"
35 class WakeThread : public Thread {
60 WakeThread thread(&server);
62 thread.Start();
  /external/chromium_org/third_party/webrtc/base/
maccocoasocketserver_unittest.mm 13 #include "webrtc/base/thread.h"
18 class WakeThread : public Thread {
43 WakeThread thread(&server);
45 thread.Start();
  /external/chromium_org/ui/shell_dialogs/
base_shell_dialog_win.cc 9 #include "base/threading/thread.h"
65 base::Thread* BaseShellDialogImpl::CreateDialogThread() {
66 base::Thread* thread = new base::Thread("Chrome_ShellDialogThread"); local
67 thread->init_com_with_mta(false);
68 bool started = thread->Start();
70 return thread;
  /external/conscrypt/src/test/java/org/conscrypt/
FileClientSessionCacheTest.java 35 Thread[] threads = new Thread[10];
39 threads[i] = new Thread() {
48 for (Thread thread : threads) {
49 thread.start();
51 for (Thread thread : threads) {
52 thread.join();
  /external/libcxx/test/thread/futures/futures.promise/
set_lvalue_at_thread_exit.pass.cpp 33 std::thread(func, std::move(p)).detach();
set_value_at_thread_exit_const.pass.cpp 30 std::thread(func, std::move(p)).detach();
set_value_at_thread_exit_void.pass.cpp 33 std::thread(func, std::move(p)).detach();
  /external/libcxxabi/test/
test_guard.cpp 13 #include <thread>
75 // A simple thread test of two threads racing to initialize a variable. This
89 std::thread t1(helper), t2(helper);
116 std::thread t(another_helper);
121 std::thread t(helper);
  /external/lldb/include/lldb/Target/
ABI.h 34 PrepareTrivialCall (Thread &thread,
46 GetArgumentValues (Thread &thread,
50 GetReturnValueObject (Thread &thread,
62 GetReturnValueObjectImpl (Thread &thread,
ThreadPlanTracer.h 20 #include "lldb/Target/Thread.h"
37 ThreadPlanTracer (Thread &thread, lldb::StreamSP &stream_sp);
38 ThreadPlanTracer (Thread &thread);
88 Thread &m_thread;
109 ThreadPlanAssemblyTracer (Thread &thread, lldb::StreamSP &stream_sp);
110 ThreadPlanAssemblyTracer (Thread &thread);
    [all...]

Completed in 1446 milliseconds

<<11121314151617181920>>