wine/server
Jinoh Kang 5d98ffe982 server: Generalise async completion callback to be called on synchronous failure.
Today, async_set_completion_callback() is used to register a function
that is called when the async I/O is completed.  It is assumed that the
async will eventually be queued when such callback is registered.

However, this incurs extra complexity in future code that needs the
completion logic to be invoked even if the async is never actually
queued (e.g. when the I/O failed synchronously before async_handoff).

Generalise async completion callback by calling it in async_handoff()
when the I/O status indicates failure.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-25 18:28:18 +01:00
..
async.c server: Generalise async completion callback to be called on synchronous failure. 2022-03-25 18:28:18 +01:00
atom.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
change.c server: Define a server-side structure for SID. 2022-01-25 12:32:11 +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 kernelbase: Support CONSOLE_READCONSOLE_CONTROL in ReadConsoleW. 2022-03-01 22:41:15 +01:00
debugger.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
device.c server: Always close previous IRP handle. 2022-03-14 12:00:48 +01: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 server: Allocate enough space for the backslash in dup_nt_name() (Valgrind). 2022-01-21 09:23:25 +01:00
file.c server: Define a server-side structure for SID. 2022-01-25 12:32:11 +01:00
file.h server: Define a server-side structure for SID. 2022-01-25 12:32:11 +01:00
handle.c server: Define a server-side structure for SID. 2022-01-25 12:32:11 +01:00
handle.h
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
Makefile.in server: Implement vm counters on FreeBSD. 2021-11-19 18:59:02 +01:00
mapping.c server: Store PE image info in process structure. 2022-01-02 13:53:08 +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: Define a server-side structure for SID. 2022-01-25 12:32:11 +01:00
object.h server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
process.c server: Define a server-side structure for SID. 2022-01-25 12:32:11 +01:00
process.h server: Store PE image info in process structure. 2022-01-02 13:53:08 +01:00
procfs.c
protocol.def server: Add mark_pending field to set_async_direct_result request. 2022-03-22 18:38:18 +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: Return error when hardware message is too large. 2022-01-12 17:27:50 +01:00
region.c
registry.c server: Define a server-side structure for SID. 2022-01-25 12:32:11 +01:00
request.c configure: Assume that sys/wait.h is available on Unix. 2021-12-09 18:43:51 +01:00
request.h server: Add mark_pending field to set_async_direct_result request. 2022-03-22 18:38:18 +01:00
security.h server: Define a server-side structure for SID. 2022-01-25 12:32:11 +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: Replace redundant recv_socket status fields with force_async boolean field. 2022-02-10 20:18:39 +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
timer.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
token.c server: Don't depend on the TOKEN_GROUPS structure on the server side. 2022-01-25 12:35:54 +01:00
trace.c server: Add mark_pending field to set_async_direct_result request. 2022-03-22 18:38:18 +01:00
unicode.c server: Use sysctl instead of /proc/curproc/file on FreeBSD. 2021-10-25 18:50:59 +02:00
unicode.h
user.c
user.h server: Make window struct a server object. 2022-02-09 18:37:32 +01:00
window.c server: Store all 64 bits of window id. 2022-02-10 18:15:04 +01:00
wineserver.de.UTF-8.man.in
wineserver.fr.UTF-8.man.in
wineserver.man.in
winstation.c server: Make window struct a server object. 2022-02-09 18:37:32 +01:00