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
..
2015-03-03 21:05:17 +00:00
2015-02-03 01:51:38 +00:00
2014-11-05 23:56:37 +00:00
2015-02-25 16:01:12 +00:00
2014-10-10 00:09:16 +00:00
2014-10-10 23:43:03 +00:00
2014-10-10 23:43:03 +00:00
2014-03-06 00:14:12 +00:00
2014-03-13 09:37:02 +00:00
2015-05-04 18:39:38 +00:00
2014-09-16 06:34:29 +00:00
2014-10-16 16:59:23 +00:00
2015-05-08 12:17:27 +00:00
2013-05-10 21:47:16 +00:00
2014-07-02 17:24:07 +00:00
2015-05-13 19:44:24 +00:00
2015-05-28 13:41:08 +00:00
2014-06-30 00:30:53 +00:00
2015-03-03 23:36:51 +00:00
2014-03-13 02:54:54 +00:00
2014-03-10 08:42:03 +00:00
2013-12-13 00:29:16 +00:00
2014-07-02 09:51:28 +00:00
2014-07-01 21:22:11 +00:00
2014-07-08 18:05:41 +00:00
2015-02-26 23:55:39 +00:00
2015-02-23 18:12:20 +00:00
2014-04-04 04:06:10 +00:00
2015-05-15 00:19:28 +00:00
2014-02-05 05:44:54 +00:00
2015-05-23 03:54:53 +00:00
2015-05-13 00:39:24 +00:00
2015-05-15 06:53:30 +00:00
2014-09-05 19:13:15 +00:00
2015-05-18 23:24:32 +00:00
2015-03-18 21:31:45 +00:00
2014-02-27 19:35:12 +00:00
2015-05-07 18:51:04 +00:00
2015-03-18 18:20:42 +00:00
2015-03-17 20:04:04 +00:00
2015-03-18 18:20:42 +00:00
2014-08-06 01:49:59 +00:00
2015-05-15 10:14:15 +00:00
2015-03-18 18:20:42 +00:00
2015-03-18 18:20:42 +00:00
2015-03-18 18:20:42 +00:00
2015-03-18 18:20:42 +00:00
2015-05-11 21:12:33 +00:00
2015-03-18 18:20:42 +00:00
2015-03-18 18:20:42 +00:00
2015-03-03 23:11:11 +00:00
2012-11-29 21:49:15 +00:00
2015-01-15 20:08:35 +00:00
2014-02-03 23:49:47 +00:00