Searched defs:thread (Results 151 - 175 of 534) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprthread.h45 ** In general, a thread of a higher priority has a statistically better
47 ** NSPR uses multiple strategies to provide execution vehicles for thread
52 ** a single GLOBAL thread.
55 ** thread associated with a given GLOBAL thread. It is further assumed
59 ** Threads have a "system flag" which when set indicates the thread
61 ** process exits when the last user thread exits).
65 ** indicates whether a thread is permanently bound to a native OS thread.
66 ** An unbound thread compete
155 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread); variable
169 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread); variable
239 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread); variable
269 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread); variable
274 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread); variable
279 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread); variable
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dautodetectproxy_unittest.cc90 void OnWorkDone(rtc::SignalThread *thread) { argument
92 static_cast<rtc::AutoDetectProxy *>(thread);
H A Dsslsocketfactory.cc78 void OnProxyDetectionComplete(SignalThread* thread) { argument
79 ASSERT(detect_ == thread);
H A Dtestechoserver.h18 #include "webrtc/base/thread.h"
26 TestEchoServer(Thread* thread, const SocketAddress& addr) argument
27 : server_socket_(thread->socketserver()->CreateAsyncSocket(addr.family(),
/external/chromium_org/third_party/webrtc/modules/utility/source/
H A Dprocess_thread_impl.cc70 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/
H A Dcritical_section_unittest.cc81 ThreadWrapper* thread = ThreadWrapper::CreateThread( variable
85 ASSERT_TRUE(thread->Start(id));
90 // Thus, the thread should not be able to increment the count
92 crit_sect->Leave(); // This frees the thread to act.
94 EXPECT_TRUE(thread->Stop());
95 delete thread;
110 ThreadWrapper* thread = ThreadWrapper::CreateThread(&LockUnlockRunFunction, variable
114 ASSERT_TRUE(thread->Start(id));
117 // The thread is capable of grabbing the lock multiple times,
123 // The thread doe
[all...]
H A Dthread_win.cc40 // Set the thread name to appear in the VS debugger.
134 // Wait up to 2 seconds for the thread to complete.
162 SetThreadName(static_cast<DWORD>(-1), name_); // -1 == caller thread.
189 HANDLE thread = thread_; local
191 CloseHandle(thread);
/external/chromium_org/win8/test/
H A Dopen_with_dialog_async.cc6 // 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::__anon17446::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.
82 DCHECK_EQ(context->thread
[all...]
/external/compiler-rt/lib/msan/
H A Dmsan_thread.cc14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); local
15 thread->start_routine_ = start_routine;
16 thread->arg_ = arg;
17 thread->destructor_iterations_ = kPthreadDestructorIterations;
19 return thread;
57 // We also clear the shadow on thread destruction because
70 // start_routine_ == 0 if we're on the main thread or on one of the
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DInterruptionUtil.java30 * Utilities for performing thread interruption in tests
40 * Runnable which will interrupt the target thread repeatedly when run.
73 * Interrupts the current thread after sleeping for the specified delay.
118 Thread thread, long timeout, TimeUnit unit) {
127 NANOSECONDS.timedJoin(thread, remainingNanos);
117 joinUninterruptibly( Thread thread, long timeout, TimeUnit unit) argument
H A DThreadFactoryBuilderTest.java58 Thread thread = threadFactory.newThread(monitoredRunnable);
59 checkThreadPoolName(thread, 1);
63 assertEquals(defaultThread.isDaemon(), thread.isDaemon());
64 assertEquals(defaultThread.getPriority(), thread.getPriority());
65 assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
67 thread.getUncaughtExceptionHandler());
70 thread.start();
71 thread.join();
74 // Creating a new thread from the same ThreadFactory will have the same
75 // pool ID but a thread I
92 checkThreadPoolName(Thread thread, int threadId) argument
[all...]
/external/junit/src/org/junit/internal/runners/statements/
H A DFailOnTimeout.java20 StatementThread thread= evaluateStatement();
21 if (!thread.fFinished)
22 throwExceptionForUnfinishedThread(thread);
26 StatementThread thread= new StatementThread(fOriginalStatement);
27 thread.start();
28 thread.join(fTimeout);
29 thread.interrupt();
30 return thread;
33 private void throwExceptionForUnfinishedThread(StatementThread thread) argument
35 if (thread
41 throwTimeoutException(StatementThread thread) argument
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dbuild-id.c27 struct thread *thread = machine__findnew_thread(machine, sample->pid, local
30 if (thread == NULL) {
36 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION,
51 struct thread *thread = machine__findnew_thread(machine, local
58 if (thread) {
59 rb_erase(&thread->rb_node, &machine->threads);
61 thread__delete(thread);
H A Dthread.h9 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) argument
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 *sel
56 thread__priv(struct thread *thread) argument
61 thread__set_priv(struct thread *thread, void *p) argument
[all...]
/external/lldb/source/Plugins/Process/Utility/
H A DRegisterContextDummy.cpp38 RegisterContextDummy::RegisterContextDummy (Thread &thread, uint32_t concrete_frame_idx, uint32_t address_byte_size) : argument
39 RegisterContext (thread, concrete_frame_idx)
H A DRegisterContextMacOSXFrameBackchain.cpp32 Thread &thread,
36 RegisterContext (thread, concrete_frame_idx),
195 // the thread's register context (the register context for frame zero) do
30 RegisterContextMacOSXFrameBackchain( Thread &thread, uint32_t concrete_frame_idx, const UnwindMacOSXFrameBackchain::Cursor &cursor ) argument
H A DStopInfoMachException.cpp268 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...]
H A DUnwindLLDB.cpp26 UnwindLLDB::UnwindLLDB (Thread &thread) : argument
27 Unwind (thread),
/external/lldb/source/Symbol/
H A DFuncUnwinders.cpp61 // thread has started to create the unwind plan and has put it into
62 // m_unwind_plan_call_site_sp, and have another thread enter this function
99 FuncUnwinders::GetUnwindPlanAtNonCallSite (Thread& thread) argument
104 // thread has started to create the unwind plan and has put it into
105 // the unique pointer member variable, and have another thread enter this function
118 if (!m_assembly_profiler->GetNonCallSiteUnwindPlanFromAssembly (m_range, thread, *m_unwind_plan_non_call_site_sp))
125 FuncUnwinders::GetUnwindPlanFastUnwind (Thread& thread) argument
130 // thread has started to create the unwind plan and has put it into
131 // the unique pointer member variable, and have another thread enter this function
144 if (!m_assembly_profiler->GetFastUnwindPlan (m_range, thread, *m_unwind_plan_fast_s
151 GetUnwindPlanArchitectureDefault(Thread& thread) argument
187 GetUnwindPlanArchitectureDefaultAtFunctionEntry(Thread& thread) argument
240 InvalidateNonCallSiteUnwindPlan(lldb_private::Thread& thread) argument
[all...]
/external/lldb/source/Target/
H A DABI.cpp107 ABI::GetReturnValueObject (Thread &thread, argument
116 return_valobj_sp = GetReturnValueObjectImpl(thread, ast_type);
126 ClangPersistentVariables& persistent_variables = thread.CalculateTarget()->GetPersistentVariables();
H A DThreadPlanBase.cpp36 ThreadPlanBase::ThreadPlanBase (Thread &thread) : argument
37 ThreadPlan(ThreadPlan::eKindBase, "base plan", thread, eVoteYes, eVoteNoOpinion)
40 // FIXME: need to add a thread settings variable to pix various tracers...
61 s->Printf ("Base thread plan.");
126 log->Printf("Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64 " (breakpoint hit.)", m_thread.GetID());
151 // If we crashed, discard thread plans and stop. Don't force the discard, however,
154 log->Printf("Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64 " (exception.)", m_thread.GetID());
159 // If we crashed, discard thread plan
[all...]
H A DThreadPlanStepInstruction.cpp35 Thread &thread,
41 ThreadPlan (ThreadPlan::eKindStepInstruction, "Step over single instruction", thread, stop_vote, run_vote),
88 // Since we read the instruction we're stepping over from the thread,
33 ThreadPlanStepInstruction( Thread &thread, bool step_over, bool stop_other_threads, Vote stop_vote, Vote run_vote ) argument
H A DThreadPlanStepOverBreakpoint.cpp29 ThreadPlanStepOverBreakpoint::ThreadPlanStepOverBreakpoint (Thread &thread) : argument
31 thread,
34 // first in the thread plan stack when stepping
/external/lzma/CPP/Windows/
H A DThread.h14 ::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
[all...]
/external/nist-sip/java/gov/nist/core/
H A DThreadAuditor.java15 * the thread can periodically ping the auditor.
32 /// Set to true when the thread pings, periodically reset to false by the auditor
36 private Thread thread; field in class:ThreadAuditor.ThreadHandle
38 /// Thread auditor monitoring this thread
44 thread = Thread.currentThread();
48 /// Called by the auditor thread to check the ping status of the thread
53 /// Called by the auditor thread to reset the ping status of the thread
58 /// Return the thread bein
113 removeThread(Thread thread) argument
[all...]

Completed in 3092 milliseconds

1234567891011>>