mpv/player
Kacper Michajłow 55ed50ba90 mp_thread: prefer tracking threads with id
This change essentially removes mp_thread_self() and instead add
mp_thread_id to track threads and have ability to query current thread
id during runtime.

This will be useful for upcoming win32 implementation, where accessing
thread handle is different than on pthreads. Greatly reduces complexity.
Otherweis locked map of tid <-> handle is required which is completely
unnecessary for all mpv use-cases.

Note that this is the mp_thread_id, not to confuse with system tid. For
example on threads-posix implementation it is simply pthread_t.
2023-11-05 17:36:17 +00:00
..
javascript build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00
audio.c player/audio: fix incorrect check on adding delay 2023-10-26 22:59:09 -05:00
client.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
client.h
command.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
command.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
configfiles.c options: rename --watch-later-directory to --watch-later-dir 2023-10-25 16:16:37 +00:00
core.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
external_files.c external_files: remove duplicate from cover art whitelist 2023-10-04 15:31:38 +00:00
external_files.h player: make all autoload extensions configurable 2023-08-26 00:33:00 +00:00
javascript.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
loadfile.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
lua.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
main.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
misc.c vo_wayland: fix warning -Wvoid-pointer-to-enum-cast 2023-02-26 16:45:07 +01:00
osd.c player: add --term-remaining-playtime option 2023-08-13 19:58:20 +00:00
playloop.c dispatch: change mp_dispatch_queue_process timer to nanoseconds 2023-10-16 15:38:59 +00:00
screenshot.c options: rename --screenshot-directory to --screenshot-dir 2023-10-25 16:16:37 +00:00
screenshot.h
scripting.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
sub.c sub: update subtitles if current track is an image 2023-10-23 19:32:53 +00:00
video.c player/video: loosen logic checks for adjust_sync 2023-10-30 17:18:35 +00:00