Sweden-Number/server
Eric Pouech 751a3325a6 server/console: Ensure conhost has created the TTY input stream before waiting.
Some PE executables (like mingw's gdb port) just do something like:
- WaitForSingleObject(GetStdHandle(STD_INPUT_HANDLE), INFINITE) and hang
  for ever (the read operations are done *after* the wait operation
  succeeds)
(of course, the real wait operation is more complex, but the problematic
part boils down to that)

This hangs for ever because conhost's main input thread hasn't been started
yet.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-17 18:33:45 +01:00
..
Makefile.in server: Implement vm counters on FreeBSD. 2021-11-19 18:59:02 +01:00
async.c ntdll: Do not fill the IOSB if a device IRP failed synchronously. 2021-09-14 18:30:17 +02:00
atom.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
change.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
class.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
clipboard.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
completion.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
console.c server/console: Ensure conhost has created the TTY input stream before waiting. 2021-12-17 18:33:45 +01:00
debugger.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
device.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
directory.c server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
event.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
fd.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
file.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
file.h ntoskrnl: Report the initial status of an IRP separately from the IOSB status. 2021-09-13 11:32:18 +02:00
handle.c ntdll: Implement NtCompareObjects. 2021-11-29 23:25:46 +01:00
handle.h server: Inherit standard handles together with explicit handle list. 2020-09-29 21:04:13 +02:00
hook.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
mach.c server: Remove workarounds for Mac OS X 10.4. 2021-12-02 09:50:46 +01:00
mailslot.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
main.c server: Avoid using getopt_long(). 2021-10-05 11:53:08 +02:00
mapping.c configure: Assume that sys/mman.h is available on Unix. 2021-12-09 18:43:51 +01:00
mutex.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
named_pipe.c server: Return ReadDataAvailable value for FilePipeLocalInformation. 2021-12-06 22:55:07 +01:00
object.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
object.h server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
process.c configure: Assume that sys/socket.h is available on Unix. 2021-12-09 18:43:51 +01:00
process.h server: Wait for process exit more often and using increasing delay. 2021-11-12 22:42:51 +01:00
procfs.c
protocol.def server: Handle the entire IOCTL_AFD_POLL ioctl on the server side. 2021-12-10 22:00:17 +01:00
ptrace.c configure: Assume that sys/wait.h is available on Unix. 2021-12-09 18:43:51 +01:00
queue.c server: Also queue hotkey message for WM_SYSKEYDOWN. 2021-11-02 17:09:39 +01:00
region.c
registry.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
request.c configure: Assume that sys/wait.h is available on Unix. 2021-12-09 18:43:51 +01:00
request.h server: Handle the entire IOCTL_AFD_POLL ioctl on the server side. 2021-12-10 22:00:17 +01:00
security.h server: Fix missing include for uid_t. 2021-11-15 12:07:44 +01:00
semaphore.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
serial.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
signal.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
sock.c server: Handle the entire IOCTL_AFD_POLL ioctl on the server side. 2021-12-10 22:00:17 +01:00
symlink.c server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
thread.c server: Fix the spelling of a comment. 2021-12-10 22:00:17 +01:00
thread.h ntdll: Avoid accessing the I/O status block in wait_async(). 2021-05-24 11:32:28 +02:00
timer.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
token.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
trace.c server: Handle the entire IOCTL_AFD_POLL ioctl on the server side. 2021-12-10 22:00:17 +01:00
unicode.c server: Use sysctl instead of /proc/curproc/file on FreeBSD. 2021-10-25 18:50:59 +02:00
unicode.h server: Create the NLS section object for the l_intl.nls file. 2020-11-27 18:28:35 +01:00
user.c
user.h server: Track desktop users per thread instead of per process. 2021-04-21 21:00:33 +02:00
window.c user32: Fix window style while CBT_CREATEWND hook is called. 2021-10-07 18:03:12 +02:00
wineserver.de.UTF-8.man.in
wineserver.fr.UTF-8.man.in
wineserver.man.in
winstation.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00