libuv/src/win
Jameson Nash c03569f0df
win,process: avoid assert after spawning Store app (#4152)
Make sure this handle is functional. The Windows kernel seems to have a
bug that if the first use of AssignProcessToJobObject is for a Windows
Store program, subsequent attempts to use the handle with fail with
INVALID_PARAMETER (87). This is possilby because all uses of the handle
must be for the same Terminal Services session. We can ensure it is
tied to our current session now by adding ourself to it. We could
remove ourself afterwards, but there doesn't seem to be a reason to.

Secondly, we start the process suspended so that we can make sure we
added it to the job control object before it does anything itself (such
as launch more jobs or exit).

Fixes: https://github.com/JuliaLang/julia/issues/51461
2023-10-02 15:15:18 +02:00
..
async.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
atomicops-inl.h mingw: fix building for ARM/AArch64 2021-07-14 12:36:30 -04:00
core.c src: don't run timers if loop is stopped/unref'd (#4048) 2023-06-16 11:00:06 -06:00
detect-wakeup.c nfci: address some style nits 2020-08-21 17:25:42 -04:00
dl.c warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
error.c Revert "win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES (#3193)" (#3565) 2022-03-20 11:06:14 +01:00
fs-event.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
fs-fd-hash-inl.h nfci: address some style nits 2020-08-21 17:25:42 -04:00
fs.c win,fs: avoid winapi macro redefinition (#4123) 2023-08-19 12:17:16 +02:00
getaddrinfo.c unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
getnameinfo.c unix,win: limit concurrent DNS calls to nthreads/2 2018-08-21 10:48:24 +02:00
handle-inl.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
handle.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
internal.h win: remove unused functions (#4063) 2023-06-20 22:30:31 +02:00
loop-watcher.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
pipe.c unix,win: add UV_PIPE_NO_TRUNCATE flag (#4040) 2023-06-06 17:08:36 +02:00
poll.c win: drop code checking for Windows XP / Server 2k3 2022-11-08 06:51:07 +01:00
process-stdio.c stream: add uv_pipe and uv_socketpair to the API 2020-11-09 21:50:09 -05:00
process.c win,process: avoid assert after spawning Store app (#4152) 2023-10-02 15:15:18 +02:00
req-inl.h win,shutdown: improve how shutdown is dispatched (#3649) 2022-07-11 12:30:20 -04:00
signal.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
snprintf.c win: fix compilation with VS < 2012 2015-10-01 00:41:41 +02:00
stream-inl.h win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
stream.c Revert "win: implement uv_try_write() for pipes(#3825 1/2)" 2023-05-19 11:08:49 +02:00
tcp.c unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
thread.c barrier: wait for prior out before next in (#3905) 2023-03-06 17:57:25 -05:00
tty.c win: remove unused functions (#4063) 2023-06-20 22:30:31 +02:00
udp.c unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
util.c unix,win: add uv_clock_gettime() (#3971) 2023-04-27 22:13:46 +02:00
winapi.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
winapi.h win: fix build for mingw32 (#3340) 2021-11-01 15:09:59 -04:00
winsock.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
winsock.h win,mingw: Fix undefined MCAST_* constants 2019-09-25 14:48:10 +02:00