scrcpy/app/src/util
Romain Vimont 3bb24b3926 Make intr optional for adb commands
All adb commands are executed with an "interruptor", so that they can be
interrupted on Ctrl+C.

Make this interruptor optional, so that we could call "adb kill-server"
in OTG mode. This command always returns almost immediately anyway.

Ideally, we should make all blocking calls interruptible (including
libusb calls, by using the asynchronous API), but it's a lot of work,
and in practice it works well enough.

PR #3011 <https://github.com/Genymobile/scrcpy/pull/3011>
2022-02-20 17:39:36 +01:00
..
acksync.c Add acksync helper to wait for acks 2021-11-23 21:15:05 +01:00
acksync.h Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
buffer_util.h Rename buffer util functions with sc_ prefix 2022-02-12 09:12:46 +01:00
cbuf.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
file.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
file.h Improve file API 2021-11-12 22:44:37 +01:00
intmap.c Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intmap.h Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intr.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
intr.h Rename SC_INVALID_SOCKET to SC_SOCKET_NONE 2021-11-14 01:22:22 +01:00
log.c Add generic LOG() macro with level parameter 2022-02-09 09:53:11 +01:00
log.h Add generic LOG() macro with level parameter 2022-02-09 09:53:11 +01:00
net.c Remove LOGC() 2022-02-09 09:52:15 +01:00
net.h Add function to parse IPv4 addresses 2021-11-21 22:37:37 +01:00
net_intr.c Rename SC_INVALID_SOCKET to SC_SOCKET_NONE 2021-11-14 01:22:22 +01:00
net_intr.h Add interruptor utilities 2021-11-13 22:54:18 +01:00
process.c Rename scrcpy threads 2021-12-09 21:32:11 +01:00
process.h Move SC_PRIsizet to compat.h 2022-02-09 09:53:19 +01:00
process_intr.c Make intr optional for adb commands 2022-02-20 17:39:36 +01:00
process_intr.h Check process success locally for adb commands 2021-11-25 22:22:34 +01:00
queue.h Rename queue to sc_queue 2021-07-14 00:35:10 +02:00
str.c Remove confusing sc_str_truncate() 2022-02-06 14:39:51 +01:00
str.h Remove confusing sc_str_truncate() 2022-02-06 14:39:51 +01:00
strbuf.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
strbuf.h Add string buffer util 2021-11-11 14:55:52 +01:00
term.c Add util function to get terminal size 2021-11-11 15:22:39 +01:00
term.h Add util function to get terminal size 2021-11-11 15:22:39 +01:00
thread.c Enforce deadline reached on timeout 2022-02-16 18:29:30 +01:00
thread.h Replace delay by deadline in timedwait() 2021-07-14 14:22:32 +02:00
tick.c Use timers with microsecond precision 2021-12-08 23:45:45 +01:00
tick.h Use timers with microsecond precision 2021-12-08 23:45:45 +01:00