Commit Graph

6 Commits

Author SHA1 Message Date
Unknown W. Brackets
c83fa8a3bc Fix MT locking, was not really right. 2013-09-28 20:56:38 -07:00
Unknown W. Brackets
086294b495 Listen for shutdown in thread loops.
This way we don't need to use wait_for(), much better.
Also because there are slightly more correct cond vars on win32.
2013-09-28 00:45:54 -07:00
Unknown W. Brackets
3570ea8dee Fix condition variable misuse. 2013-08-12 02:41:37 -07:00
Henrik Rydgard
8e22554fb0 GCC buildfix (processes more of templates earlier than MSVC) 2013-08-12 00:51:13 +02:00
Unknown W. Brackets
e6b42768fe Add a class to manage IO on a separate thread.
Also separate the logic for exiting the loop based on coreState.  IO and
audio won't necessarily be tied to the frame.
2013-08-11 11:46:55 -07:00
Unknown W. Brackets
1b838c4403 Move ThreadEventQueue to its own file. 2013-08-10 09:08:31 -07:00