diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2020-03-10 10:24:17 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2020-03-10 10:27:36 -0700 |
| commit | 60cd1202d9064971f7eeaecb8999b55377f95e6d (patch) | |
| tree | 54eb27244623e53a981f7106e5549acb8f5cc3db /toolsrc/include | |
| parent | 7893f7c76c8f61d971b530b120a2261d80b85592 (diff) | |
| download | vcpkg-60cd1202d9064971f7eeaecb8999b55377f95e6d.tar.gz vcpkg-60cd1202d9064971f7eeaecb8999b55377f95e6d.zip | |
[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.h | 5 |
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 } |
