aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-03-19 17:15:54 -0700
committerGitHub <noreply@github.com>2020-03-19 17:15:54 -0700
commit8b201cb43c5bb1fd976e1deac2154b0ab64c5e10 (patch)
tree2bbfc01905568ac7c6cd40ab0952485f0328731a /toolsrc/include
parent2c2e67f35fb5af7168dc800ab82e59fdcba0e9c2 (diff)
parent26949af8f8ae311e94198c8c1bd2d93578809630 (diff)
downloadvcpkg-8b201cb43c5bb1fd976e1deac2154b0ab64c5e10.tar.gz
vcpkg-8b201cb43c5bb1fd976e1deac2154b0ab64c5e10.zip
Merge pull request #10372 from ras0219-msft/dev/roschuma/jobs
[vcpkg] Introduce Job Objects to improve ctrl-c performance on Windows
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/system.process.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/system.process.h b/toolsrc/include/vcpkg/base/system.process.h
index b2e76ff74..51ea728c3 100644
--- a/toolsrc/include/vcpkg/base/system.process.h
+++ b/toolsrc/include/vcpkg/base/system.process.h
@@ -61,4 +61,9 @@ namespace vcpkg::System
std::function<void(StringView)> data_cb,
const Environment& env = {});
void register_console_ctrl_handler();
+#if defined(_WIN32)
+ void initialize_global_job_object();
+ void enter_interactive_subprocess();
+ void exit_interactive_subprocess();
+#endif
}