/external/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
H A D | wait_for.exception.pass.cpp | 1 #include <thread> 46 std::thread(signal_me).detach();
|
/external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.destr/ |
H A D | dtor.pass.cpp | 10 // <thread> 12 // class thread 14 // ~thread(); 16 #include <thread> 54 std::thread t((G()));
|
/external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/ |
H A D | detach.pass.cpp | 10 // <thread> 12 // class thread 16 #include <thread> 46 std::thread t0((G()));
|
H A D | join.pass.cpp | 10 // <thread> 12 // class thread 16 #include <thread> 46 std::thread t0((G()));
|
H A D | joinable.pass.cpp | 10 // <thread> 12 // class thread 16 #include <thread> 46 std::thread t0((G()));
|
H A D | native_handle.pass.cpp | 10 // <thread> 12 // class thread 16 #include <thread> 46 std::thread t0((G()));
|
/external/lldb/include/lldb/Target/ |
H A D | StopInfo.h | 33 StopInfo (Thread &thread, uint64_t value); 72 // ShouldStopSynchronous will get called before any thread plans are consulted, and if it says we should 119 // Sometimes the thread plan logic will know that it wants a given stop to stop or not, 144 CreateStopReasonWithBreakpointSiteID (Thread &thread, lldb::break_id_t break_id); 146 // This creates a StopInfo for the thread where the should_stop is already set, and won't be recalculated. 148 CreateStopReasonWithBreakpointSiteID (Thread &thread, lldb::break_id_t break_id, bool should_stop); 151 CreateStopReasonWithWatchpointID (Thread &thread, lldb::break_id_t watch_id); 154 CreateStopReasonWithSignal (Thread &thread, int signo); 157 CreateStopReasonToTrace (Thread &thread); 163 CreateStopReasonWithException (Thread &thread, cons [all...] |
H A D | UnwindAssembly.h | 31 Thread& thread, 36 Thread& thread, 39 // thread may be NULL in which case we only use the Target (e.g. if this is called pre-process-launch).
|
/external/lldb/source/Plugins/Process/POSIX/ |
H A D | RegisterContextPOSIX.h | 26 RegisterContextPOSIX(lldb_private::Thread &thread, argument 28 : RegisterContext(thread, concrete_frame_idx) 31 /// Updates the register state of the associated thread after hitting a
|
/external/lldb/source/Plugins/Process/Utility/ |
H A D | StopInfoMachException.cpp | 268 Thread &thread, 281 ExecutionContext exe_ctx (thread.shared_from_this()); 303 return StopInfo::CreateStopReasonToTrace (thread); 325 ProcessSP process_sp (thread.GetProcess()); 332 return StopInfo::CreateStopReasonWithExec (thread); 338 // lldb::StackFrameSP frame_sp (thread.GetStackFrameAtIndex(0)); 351 return StopInfo::CreateStopReasonWithSignal (thread, exc_sub_code); 366 return StopInfo::CreateStopReasonToTrace(thread); 379 return StopInfo::CreateStopReasonWithWatchpointID(thread, wp_sp->GetID()); 414 return StopInfo::CreateStopReasonWithWatchpointID(thread, wp_s 266 CreateStopReasonWithMachException( Thread &thread, uint32_t exc_type, uint32_t exc_data_count, uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code, bool pc_already_adjusted, bool adjust_pc_if_needed ) argument [all...] |
/external/lldb/tools/lldb-perf/lib/ |
H A D | TestCase.h | 37 lldb::SBThread thread; member in struct:lldb_perf::TestCase::ActionWanted 42 thread (), 51 thread = lldb::SBThread(); 58 thread = t; 65 thread = t; 72 thread = lldb::SBThread(); 80 thread = lldb::SBThread(); 87 thread = lldb::SBThread();
|
/external/valgrind/main/drd/tests/ |
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. */ 48 /* Invoke pthread_cancel() with an invalid thread ID. */
|
/external/lldb/examples/python/ |
H A D | 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 [all...] |
/external/chromium_org/base/synchronization/ |
H A D | 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, [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
H A D | 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, [all...] |
/external/sfntly/cpp/src/test/ |
H A D | 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, [all...] |
/external/lldb/test/python_api/frame/ |
H A D | 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 [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
H A D | SocketHandlerTest.java | 170 ServerThread thread = new ServerThread(); 171 thread.start(); 180 // ensure the thread exits and the port becomes available again 181 thread.getReadString(); 204 ServerThread thread = new ServerThread(); 205 thread.start(); 214 // ensure the thread exits and the port becomes available again 215 thread.getReadString(); 241 ServerThread thread = new ServerThread(); 242 thread [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
H A D | 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"))){ 50 logWriter.println("main thread: Waiting for second thread t [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | 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/ |
H A D | pthread_cancel.c | 5 * POSIX thread functions related to thread cancellation. 75 pthread_cancel (pthread_t thread) argument 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 creat [all...] |
/external/chromium_org/sandbox/linux/services/ |
H A D | 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. 56 StopThreadAndWatchProcFS(int proc_self_task, base::Thread* thread) argument
|
H A D | thread_helpers.h | 24 // Stop |thread| and ensure that it does not have an entry in 25 // /proc/self/task/ from the point of view of the current thread. This is 28 base::Thread* thread);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | maccocoasocketserver_unittest.mm | 13 #include "webrtc/base/thread.h" 43 WakeThread thread(&server); 45 thread.Start();
|
/external/chromium_org/ui/shell_dialogs/ |
H A D | base_shell_dialog_win.cc | 9 #include "base/threading/thread.h" 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;
|