mpv/misc
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
..
bstr.c
bstr.h
charset_conv.c charset_conv: suppress unused-label warning 2023-10-19 14:03:23 +00:00
charset_conv.h
ctype.h
dispatch.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dispatch.h
jni.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
jni.h
json.c
json.h json: unify json_parse depth to MAX_JSON_DEPTH=50 2023-07-08 11:36:15 +02:00
language.c
language.h osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02:00
linked_list.h
natural_sort.c
natural_sort.h
node.c
node.h
random.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
random.h
rendezvous.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
rendezvous.h
thread_pool.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
thread_pool.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
thread_tools.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
thread_tools.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
uuid.c meson: include our local copy of libavutil uuid if ffmpeg is too old 2023-09-04 15:22:20 -07:00
uuid.h misc: add copy of uuid from ffmpeg 2023-09-04 15:22:20 -07:00