llvm-project/lldb/unittests/Process/gdb-remote
Pavel Labath d35031e1e5 Use Timeout<> in the Listener class
Summary:
Communication classes use the Timeout<> class to specify the timeout. Listener
class was converted to chrono some time ago, but it used a different meaning for
a timeout of zero (Listener: infinite wait, Communication: no wait). Instead,
Listener provided separate functions which performed a non-blocking event read.

This converts the Listener class to the new Timeout class, to improve
consistency. It also allows us to get merge the different GetNextEvent*** and
WaitForEvent*** functions into one. No functional change intended.

Reviewers: jingham, clayborg, zturner

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D27136

llvm-svn: 288238
2016-11-30 10:41:42 +00:00
..
CMakeLists.txt Move packet construction from GDBRemoteRegisterContext go the communication class 2016-08-17 08:53:31 +00:00
GDBRemoteClientBaseTest.cpp Use Timeout<> in the Listener class 2016-11-30 10:41:42 +00:00
GDBRemoteCommunicationClientTest.cpp Fix GDBRemoteCommunicationClientTest.TestPacketSpeedJSON 2016-11-04 11:49:06 +00:00
GDBRemoteTestUtils.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
GDBRemoteTestUtils.h Attempt to fix freebsd build after r287864 2016-11-24 11:22:43 +00:00