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

/external/lldb/tools/debugserver/source/
H A DPThreadEvent.cpp129 // Wait until 'timeout_abstime' for any events that are set in
130 // 'mask'. If 'timeout_abstime' is NULL, then wait forever.
133 PThreadEvent::WaitForSetEvents(const uint32_t mask, const struct timespec *timeout_abstime) const
135 // DNBLogThreadedIf(LOG_EVENTS, "%p PThreadEvent::%s (0x%8.8x, %p)", this, __FUNCTION__, mask, timeout_abstime);
152 if (timeout_abstime)
157 err = ::pthread_cond_timedwait (m_set_condition.Condition(), m_mutex.Mutex(), timeout_abstime);
177 // Wait until 'timeout_abstime' for any events in 'mask' to reset.
178 // If 'timeout_abstime' is NULL, then wait forever.
181 PThreadEvent::WaitForEventsToReset(const uint32_t mask, const struct timespec *timeout_abstime) const
183 // DNBLogThreadedIf(LOG_EVENTS, "%p PThreadEvent::%s (0x%8.8x, %p)", this, __FUNCTION__, mask, timeout_abstime);
[all...]
H A DPThreadEvent.h36 uint32_t WaitForSetEvents (const uint32_t mask, const struct timespec *timeout_abstime = NULL) const;
37 uint32_t WaitForEventsToReset(const uint32_t mask, const struct timespec *timeout_abstime = NULL) const;
41 uint32_t WaitForResetAck (const uint32_t mask, const struct timespec *timeout_abstime = NULL) const;
H A DRNBContext.cpp117 struct timespec timeout_abstime; local
118 DNBTimer::OffsetTimeOfDay(&timeout_abstime, 2, 0);
120 if (m_events.WaitForSetEvents(RNBContext::event_proc_thread_exiting, &timeout_abstime) == RNBContext::event_proc_thread_exiting)
H A DDNB.cpp523 struct timespec *timeout_abstime,
607 if (timeout_abstime != NULL)
611 if (DNBTimer::TimeOfDayLaterThan(*timeout_abstime))
637 waitfor_pid = DNBProcessAttach (waitfor_pid, timeout_abstime, err_str, err_len);
520 DNBProcessAttachWait(const char *waitfor_process_name, nub_launch_flavor_t launch_flavor, bool ignore_existing, struct timespec *timeout_abstime, useconds_t waitfor_interval, char *err_str, size_t err_len, DNBShouldCancelCallback should_cancel_callback, void *callback_data) argument
H A DRNBRemote.cpp729 struct timespec timeout_abstime; local
730 DNBTimer::OffsetTimeOfDay(&timeout_abstime, 2, 0);
733 if (events.WaitForSetEvents(RNBContext::event_read_thread_exiting, &timeout_abstime) == 0)
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.h96 bool Signal (int signal, const struct timespec *timeout_abstime = NULL);
97 bool Kill (const struct timespec *timeout_abstime = NULL);
H A DMachProcess.cpp401 MachProcess::Kill (const struct timespec *timeout_abstime) argument
433 MachProcess::Signal (int signal, const struct timespec *timeout_abstime) argument
435 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::Signal (signal = %d, timeout = %p)", signal, timeout_abstime);
440 if (IsRunning(state) && timeout_abstime)
442 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::Signal (signal = %d, timeout = %p) waiting for signal to stop process...", signal, timeout_abstime);
443 m_private_events.WaitForSetEvents(eEventProcessStoppedStateChanged, timeout_abstime);
445 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::Signal (signal = %d, timeout = %p) state = %s", signal, timeout_abstime, DNBStateAsString(state));
448 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::Signal (signal = %d, timeout = %p) not waiting...", signal, timeout_abstime);

Completed in 2843 milliseconds