1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/osdep
wm4 b69d57ebe8 timer: workaround for crappy operating systems
Some operating systems apparently can't deal with really long timeouts
in pthread_cond_timedwait(). Passing a time about 300000 in the future
makes the call return immediately. (tv_sec/time_t doesn't overflow in
this situation.) Reduce the wait time to about 100 days, which seems
to work fine.

The list of affected OSes follows: OSX
2014-05-23 00:20:57 +02:00
..
ar Kill all tabs 2014-04-13 18:03:01 +02:00
glob-win.c glob-win: support Unicode 2014-04-21 02:57:16 +02:00
io.c osdep: silence a -Wshadow warning 2014-05-21 02:21:18 +02:00
io.h glob-win: support Unicode 2014-04-21 02:57:16 +02:00
macosx_application_objc.h cocoa: handle files drag and drop on the player video view 2014-01-04 17:29:53 +01:00
macosx_application.h cocoa: remove usage of mp_fifo 2013-07-03 22:25:45 +02:00
macosx_application.m cocoa: fix deadlock during initialization [2] 2014-02-13 22:22:44 +01:00
macosx_compat.h OSX: fix compilation with 10.7 SDK 2013-06-19 21:24:26 +02:00
macosx_events.h Move mpvcore/input/ to input/ 2013-12-17 01:23:09 +01:00
macosx_events.m Fix OSX build; remove all remaining mpvcore references 2013-12-17 08:44:21 +01:00
mpv.exe.manifest win32: edit resource files, in particular set CompanyName 2013-09-23 01:44:09 +02:00
mpv.rc Update copyright year 2014-01-01 00:00:00 +01:00
numcores.c
numcores.h
path-macosx.m path-macosx: attempt to fix build 2013-12-22 01:36:45 +01:00
path-win.c win32: restore support for exe directory as config directory 2014-02-14 21:55:04 +01:00
path.h path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
priority.c osdep/priority: drop message output when setting priority 2013-12-21 20:50:11 +01:00
priority.h
terminal-unix.c terminal: always use SA_RESTART with sigaction() 2014-04-26 22:52:26 +02:00
terminal-win.c w32: use the w32_common keymap in terminal-win too 2014-01-19 14:42:15 +01:00
terminal.h player: redo terminal OSD and status line handling 2014-01-13 20:08:13 +01:00
threads.c threads: use mpv time for mpthread_cond_timedwait wrapper 2014-05-18 19:20:32 +02:00
threads.h threads: use mpv time for mpthread_cond_timedwait wrapper 2014-05-18 19:20:32 +02:00
timer-darwin.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
timer-linux.c timer: reduce ifdef headsplitting-factor 2014-03-09 16:58:00 +01:00
timer-win2.c timer: init only once 2014-02-10 01:12:34 +01:00
timer.c timer: workaround for crappy operating systems 2014-05-23 00:20:57 +02:00
timer.h threads: use mpv time for mpthread_cond_timedwait wrapper 2014-05-18 19:20:32 +02:00
w32_keyboard.c w32: use the w32_common keymap in terminal-win too 2014-01-19 14:42:15 +01:00
w32_keyboard.h w32: use the w32_common keymap in terminal-win too 2014-01-19 14:42:15 +01:00
win32-console-wrapper.c win32-console-wrapper: use child process exit code 2014-01-06 13:31:15 +01:00