Pavel Labath fb7d5b8384 Fix race in IOHandlerProcessSTDIO
Summary:
IOHandlerProcessSTDIO::Run() was opening the pipe for interrupt requests lazily. This was racing
with another thread executing IOHandlerProcessSTDIO::Cancel() simultaneously. I fix this by
opening the pipe in the object constructor. The pipe will be automatically closed when the object
is destroyed.

Test Plan: Tests pass on linux.

Reviewers: clayborg, ribrdb

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10060

llvm-svn: 238423
2015-05-28 13:41:08 +00:00
..
2014-09-16 06:34:29 +00:00
2015-05-08 12:17:27 +00:00
2013-05-10 21:47:16 +00:00
2015-05-28 13:41:08 +00:00
2014-07-01 21:22:11 +00:00
2014-07-08 18:05:41 +00:00
2015-05-15 06:53:30 +00:00