diff options
author | Greg Clayton <gclayton@apple.com> | 2014-02-26 22:47:33 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-02-26 22:47:33 +0000 |
commit | 19e1135108386b42f8519f72b8b062c80a6d48b1 (patch) | |
tree | bcbf6e6abef714584fd4b1ba72d2297281a57cad /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 2560d11e72e43ca16da17eb2c1497a2db0cec90b (diff) | |
download | llvm-19e1135108386b42f8519f72b8b062c80a6d48b1.zip llvm-19e1135108386b42f8519f72b8b062c80a6d48b1.tar.gz llvm-19e1135108386b42f8519f72b8b062c80a6d48b1.tar.bz2 |
A better long term fix for stopping the process when it is running by writing to the pipe that was used for cancel.
We now write a 'q' to indicate to exit the IOHandlerProcessSTDIO::Run(), and a 'i' to interrupt the process. This should make this code safer to use in a signal handler function.
llvm-svn: 202311
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions