1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 20:32:13 +00:00
mpv/player
wm4 600221e723 osdep: limit thread names to 16 characters
It turns out the glibc people are very clever and return an error if the
thread name exceeds the maximum supported kernel length, instead of
truncating the name. So everyone has to hardcode the currently allowed
Linux kernel name length limit, even if it gets extended later.

Also the Lua script filenames could get too long; use the client name
instead.

Another strange thing is that on Linux, unrelated threads "inherit" the
name by the thread they were created. This leads to random thread names,
because there's not necessarily a strong relation between these threads
(e.g. script command leads to filter recreation -> the filter's threads
are tagged with the script's thread name). Unfortunate.
2014-10-20 00:17:11 +02:00
..
lua osc: update cache display 2014-09-25 11:57:49 +02:00
timeline matroska: look for all known matroska file extensions 2014-10-06 22:33:21 +02:00
audio.c audio: don't go to sleep after audio reinit 2014-10-17 01:10:49 +02:00
client.c Set thread name for debugging 2014-10-19 23:48:40 +02:00
client.h lua: strictly free memory on errors 2014-10-19 05:51:37 +02:00
command.c command: add "estimated-vf-fps" change notifcation 2014-10-19 05:51:37 +02:00
command.h command: add a mechanism to allow scripts to intercept file loads 2014-10-16 01:00:22 +02:00
configfiles.c options: don't load per-file config files by default 2014-10-17 02:55:31 +02:00
core.h ipc: decouple from MPContext 2014-10-19 20:44:29 +02:00
discnav.c player: open stream and demuxer asynchronously 2014-10-06 21:49:26 +02:00
loadfile.c player: free subtitle renderer on exit 2014-10-16 01:01:27 +02:00
lua.c fix build on OS X and BSD 2014-10-19 12:55:29 +02:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c player: shutdown all clients before actual uninit 2014-10-19 22:34:37 +02:00
misc.c Set thread name for debugging 2014-10-19 23:48:40 +02:00
osd.c player: fix OSD cycling 2014-10-14 19:20:36 +02:00
playloop.c player: fix --frames 2014-10-14 13:29:38 +02:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h
scripting.c osdep: limit thread names to 16 characters 2014-10-20 00:17:11 +02:00
sub.c player: move some libass setup code to sub.c 2014-10-03 23:10:18 +02:00
video.c player: fix --frames 2014-10-14 13:29:38 +02:00