From: Vince Harron Date: Thu, 13 Nov 2014 04:00:23 +0000 (+0000) Subject: TestConcurrentEvents - delay threads not working X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa08e6a3aa9cac4e8da764d32ad80cf076b50625;p=platform%2Fupstream%2Fllvm.git TestConcurrentEvents - delay threads not working Part of TestConcurrentEvents starts threads that are supposed to be delayed by one second. Test was adding "delay" threads to the "actions" thread list instead of the "delay_actions" list, which caused them to be started without delay. llvm-svn: 221859 --- diff --git a/lldb/test/functionalities/thread/concurrent_events/main.cpp b/lldb/test/functionalities/thread/concurrent_events/main.cpp index 0733e4c..ac2535c 100644 --- a/lldb/test/functionalities/thread/concurrent_events/main.cpp +++ b/lldb/test/functionalities/thread/concurrent_events/main.cpp @@ -169,10 +169,10 @@ int dotest() actions.push_back(std::make_pair(num_crash_threads, crash_func)); action_counts delay_actions; - actions.push_back(std::make_pair(num_delay_breakpoint_threads, breakpoint_func)); - actions.push_back(std::make_pair(num_delay_watchpoint_threads, watchpoint_func)); - actions.push_back(std::make_pair(num_delay_signal_threads, signal_func)); - actions.push_back(std::make_pair(num_delay_crash_threads, crash_func)); + delay_actions.push_back(std::make_pair(num_delay_breakpoint_threads, breakpoint_func)); + delay_actions.push_back(std::make_pair(num_delay_watchpoint_threads, watchpoint_func)); + delay_actions.push_back(std::make_pair(num_delay_signal_threads, signal_func)); + delay_actions.push_back(std::make_pair(num_delay_crash_threads, crash_func)); // Create threads that handle instant actions thread_vector threads;