scrcpy/app/src
Romain Vimont d580ee30f1 Separate process wait and close
On Linux, waitpid() both waits for the process to terminate and reaps it
(closes its handle). On Windows, these actions are separated into
WaitForSingleObject() and CloseHandle().

Expose these actions separately, so that it is possible to send a signal
to a process while waiting for its termination without race condition.

This allows to wait for server termination normally, but kill the
process without race condition if it is not terminated after some delay.
2021-01-08 16:44:21 +01:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Separate process wait and close 2021-01-08 16:44:21 +01:00
util Separate process wait and close 2021-01-08 16:44:21 +01:00
adb.c Split command into process and adb 2021-01-08 16:44:21 +01:00
adb.h Split command into process and adb 2021-01-08 16:44:21 +01:00
cli.c Increase display id range 2021-01-04 08:16:32 +01:00
cli.h Customize shortcut modifier 2020-08-01 16:31:27 +02:00
common.h Accept port range 2020-01-18 17:21:00 +01:00
compat.h Disable X11 compositor bypass 2019-05-05 17:35:00 +02:00
control_msg.c Handle repeating keycodes 2020-06-19 22:30:17 +02:00
control_msg.h Add pinch-to-zoom simulation 2020-08-10 20:08:24 +02:00
controller.c Make message buffer static 2020-06-11 23:11:20 +02:00
controller.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
decoder.c Remove unused includes 2019-11-27 21:40:54 +01:00
decoder.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
device.c Move utilities to util/ 2019-11-24 11:53:23 +01:00
device.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
device_msg.c Serialize text size on 4 bytes 2020-06-11 23:11:17 +02:00
device_msg.h Increase clipboard size from 4k to 256k 2020-06-11 23:11:20 +02:00
event_converter.c Forward Shift to the device 2020-08-01 16:31:31 +02:00
event_converter.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
events.h Add stream layer 2019-03-02 18:45:45 +01:00
file_handler.c Rename process_simple_wait to process_wait 2021-01-08 16:44:21 +01:00
file_handler.h Split command into process and adb 2021-01-08 16:44:21 +01:00
fps_counter.c Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
fps_counter.h Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Add option to force legacy method for pasting 2020-11-07 15:16:51 +01:00
input_manager.h Add option to force legacy method for pasting 2020-11-07 15:16:51 +01:00
main.c Pause on error from a wrapper script 2020-12-14 09:44:17 +01:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
receiver.c Set computer clipboard only if necessary 2020-08-01 16:31:31 +02:00
receiver.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
recorder.c Add missing mutex unlock on error 2020-09-20 01:11:13 +02:00
recorder.h Make scrcpy.h independant of other headers 2020-06-19 22:30:02 +02:00
scrcpy.c Split command into process and adb 2021-01-08 16:44:21 +01:00
scrcpy.h Increase display id range 2021-01-04 08:16:32 +01:00
screen.c Fix touch events HiDPI-scaling 2020-06-27 15:45:28 +02:00
screen.h Fix touch events HiDPI-scaling 2020-06-27 15:45:28 +02:00
server.c Separate process wait and close 2021-01-08 16:44:21 +01:00
server.h Split command into process and adb 2021-01-08 16:44:21 +01:00
stream.c Remove unused includes 2019-11-27 21:40:54 +01:00
stream.h Remove unused field 2020-09-20 01:11:22 +02:00
tiny_xpm.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
tiny_xpm.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
video_buffer.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
video_buffer.h Include config.h everywhere 2019-09-29 22:39:53 +02:00