The deferred signal thread id was being set with the process id
unintentionally in NativeProcessLinux::CallAfterRunningThreadsStop().
llvm-svn: 227910
const std::function<void (lldb::tid_t tid)> &call_after_function)
{
const lldb::pid_t pid = GetID ();
- m_coordinator_up->CallAfterRunningThreadsStop (pid,
+ m_coordinator_up->CallAfterRunningThreadsStop (tid,
[=](lldb::tid_t request_stop_tid)
{
tgkill (pid, request_stop_tid, SIGSTOP);
ThreadStateCoordinator::EnqueueEvent (EventBaseSP event_sp)
{
std::lock_guard<std::mutex> lock (m_queue_mutex);
+
m_event_queue.push (event_sp);
+ if (m_log_event_processing)
+ Log ("ThreadStateCoordinator::%s enqueued event: %s", __FUNCTION__, event_sp->GetDescription ().c_str ());
+
m_queue_condition.notify_one ();
}