mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
134f3e97bf
This commit is a followup on the previous one and uses a solution I like more since it totally decouples the Cocoa code from mpv's core and tries to emulate a generic Cocoa application's lifecycle as much as possible without fighting the framework. mpv's main is executed in a pthread while the main thread runs the native cocoa event loop. All of the thread safety is mainly accomplished with additional logic in cocoa_common as to not increase complexity on the crossplatform parts of the code. |
||
---|---|---|
.. | ||
getch2-win.c | ||
getch2.c | ||
getch2.h | ||
glob-win.c | ||
glob.h | ||
io.c | ||
io.h | ||
macosx_application_objc.h | ||
macosx_application.h | ||
macosx_application.m | ||
macosx_bundle.h | ||
macosx_bundle.m | ||
mmap_anon.c | ||
mmap_anon.h | ||
mmap.h | ||
mpv.exe.manifest | ||
mpv.rc | ||
numcores.c | ||
numcores.h | ||
priority.c | ||
priority.h | ||
shmem.c | ||
shmem.h | ||
timer-darwin.c | ||
timer-linux.c | ||
timer-win2.c | ||
timer.h |