Fix deadlock in gdb-client tests
authorPavel Labath <pavel@labath.sk>
Thu, 30 Aug 2018 19:14:02 +0000 (19:14 +0000)
committerPavel Labath <pavel@labath.sk>
Thu, 30 Aug 2018 19:14:02 +0000 (19:14 +0000)
commita95c33f6006bcccf38236c9e960d013e4fc1947c
treed125e7bd13dbb275dfc259fa08ce69387d95e6d6
parent2123ea7d5c722e98ce0f047c8baa3fb3db23e6b3
Fix deadlock in gdb-client tests

Using a listen queue of length 0 caused a deadlock on my machine in the
gdb-client tests while attempting to establish the loopback socket
connection.

I am not sure if this is down to a different python or kernel version,
but in either case, having queue of length zero sounds like a bad idea,
so I'm bumping that to one (which also fixes the deadlock).

llvm-svn: 341096
lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py