1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/osdep
Stefano Pigozzi 134f3e97bf OSX: run native event loop in a separate thread
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.
2013-05-12 15:27:54 +02:00
..
getch2-win.c Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
getch2.c mp_msg: fix status output disappearing when redirecting INPUT. 2013-03-18 20:33:29 +01:00
getch2.h mp_msg, getch2: unix tty background support 2013-01-23 18:05:34 +01:00
glob-win.c
glob.h
io.c windows support: fix _wstat misusage 2013-01-13 17:32:39 +01:00
io.h windows support: fix _wstat misusage 2013-01-13 17:32:39 +01:00
macosx_application_objc.h OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
macosx_application.h OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
macosx_application.m OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
macosx_bundle.h path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
macosx_bundle.m path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
mmap_anon.c
mmap_anon.h
mmap.h
mpv.exe.manifest build: fix compilation on Windows (manifest files) 2012-10-20 20:03:13 +02:00
mpv.rc Update copyright year 2013-01-04 15:23:23 +01:00
numcores.c
numcores.h
priority.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
priority.h
shmem.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
shmem.h
timer-darwin.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
timer-linux.c timer: remove timer_name 2012-09-07 16:06:36 +02:00
timer-win2.c timer: remove timer_name 2012-09-07 16:06:36 +02:00
timer.h timer: remove timer_name 2012-09-07 16:06:36 +02:00