diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2020-03-19 17:15:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-19 17:15:54 -0700 |
| commit | 8b201cb43c5bb1fd976e1deac2154b0ab64c5e10 (patch) | |
| tree | 2bbfc01905568ac7c6cd40ab0952485f0328731a /toolsrc/src/vcpkg.cpp | |
| parent | 2c2e67f35fb5af7168dc800ab82e59fdcba0e9c2 (diff) | |
| parent | 26949af8f8ae311e94198c8c1bd2d93578809630 (diff) | |
| download | vcpkg-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/src/vcpkg.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp index 1f212dd94..c2ee42200 100644 --- a/toolsrc/src/vcpkg.cpp +++ b/toolsrc/src/vcpkg.cpp @@ -269,7 +269,7 @@ int wmain(int, const wchar_t* const* const); #include <shellapi.h> int main(int argc, const char* const* const /*argv*/) { - wchar_t **wargv; + wchar_t** wargv; wargv = CommandLineToArgvW(GetCommandLineW(), &argc); return wmain(argc, wargv); } @@ -292,6 +292,7 @@ int main(const int argc, const char* const* const argv) SetConsoleCP(CP_UTF8); SetConsoleOutputCP(CP_UTF8); + System::initialize_global_job_object(); #endif Checks::register_global_shutdown_handler([]() { |
