Home
last modified time | relevance | path

Searched refs:timeout_abstime (Results 1 – 7 of 7) sorted by relevance

/external/lldb/tools/debugserver/source/
DPThreadEvent.cpp133 PThreadEvent::WaitForSetEvents(const uint32_t mask, const struct timespec *timeout_abstime) const in WaitForSetEvents()
152 if (timeout_abstime) in WaitForSetEvents()
157 … err = ::pthread_cond_timedwait (m_set_condition.Condition(), m_mutex.Mutex(), timeout_abstime); in WaitForSetEvents()
181 PThreadEvent::WaitForEventsToReset(const uint32_t mask, const struct timespec *timeout_abstime) con… in WaitForEventsToReset()
200 if (timeout_abstime) in WaitForEventsToReset()
205 … err = ::pthread_cond_timedwait (m_reset_condition.Condition(), m_mutex.Mutex(), timeout_abstime); in WaitForEventsToReset()
219 PThreadEvent::WaitForResetAck (const uint32_t mask, const struct timespec *timeout_abstime) const in WaitForResetAck()
224 return WaitForEventsToReset (mask & m_reset_ack_mask, timeout_abstime); in WaitForResetAck()
DPThreadEvent.h36 …uint32_t WaitForSetEvents (const uint32_t mask, const struct timespec *timeout_abstime = NUL…
37 …uint32_t WaitForEventsToReset(const uint32_t mask, const struct timespec *timeout_abstime = NUL…
41 …uint32_t WaitForResetAck (const uint32_t mask, const struct timespec *timeout_abstime = NULL) c…
DRNBContext.cpp117 struct timespec timeout_abstime; in StopProcessStatusThread() local
118 DNBTimer::OffsetTimeOfDay(&timeout_abstime, 2, 0); in StopProcessStatusThread()
120 …if (m_events.WaitForSetEvents(RNBContext::event_proc_thread_exiting, &timeout_abstime) == RNBConte… in StopProcessStatusThread()
DDNB.cpp523 struct timespec *timeout_abstime, in DNBProcessAttachWait() argument
607 if (timeout_abstime != NULL) in DNBProcessAttachWait()
611 if (DNBTimer::TimeOfDayLaterThan(*timeout_abstime)) in DNBProcessAttachWait()
637 waitfor_pid = DNBProcessAttach (waitfor_pid, timeout_abstime, err_str, err_len); in DNBProcessAttachWait()
DRNBRemote.cpp729 struct timespec timeout_abstime; in StopReadRemoteDataThread() local
730 DNBTimer::OffsetTimeOfDay(&timeout_abstime, 2, 0); in StopReadRemoteDataThread()
733 if (events.WaitForSetEvents(RNBContext::event_read_thread_exiting, &timeout_abstime) == 0) in StopReadRemoteDataThread()
/external/lldb/tools/debugserver/source/MacOSX/
DMachProcess.h96 bool Signal (int signal, const struct timespec *timeout_abstime = NULL);
97 bool Kill (const struct timespec *timeout_abstime = NULL);
DMachProcess.cpp401 MachProcess::Kill (const struct timespec *timeout_abstime) in Kill() argument
433 MachProcess::Signal (int signal, const struct timespec *timeout_abstime) in Signal() argument
435 …hreadedIf(LOG_PROCESS, "MachProcess::Signal (signal = %d, timeout = %p)", signal, timeout_abstime); in Signal()
440 if (IsRunning(state) && timeout_abstime) in Signal()
442 …ignal (signal = %d, timeout = %p) waiting for signal to stop process...", signal, timeout_abstime); in Signal()
443 m_private_events.WaitForSetEvents(eEventProcessStoppedStateChanged, timeout_abstime); in Signal()
445 …MachProcess::Signal (signal = %d, timeout = %p) state = %s", signal, timeout_abstime, DNBStateAsSt… in Signal()
448 …ROCESS, "MachProcess::Signal (signal = %d, timeout = %p) not waiting...", signal, timeout_abstime); in Signal()