Mercurial > almixer_isolated
view EXAMPLES/SDLMain.h @ 44:56855942fdc6
Split off background thread (threads only) termination and creation into separate functions from Interruption handling to make it easier to avoid race condition bug with Apple rdar://10081775 w.r.t. setting the OpenAL context. New APIs to suspend and resume update threads. Interruption handling calls these automatically.
Also partially regressed simplification with regards to getting the current playing state in the main update loop.
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Tue, 13 Sep 2011 18:03:21 -0700 |
parents | 26aec5629f68 |
children |
line wrap: on
line source
/* SDLMain.m - main entry point for our Cocoa-ized SDL app Initial Version: Darrell Walisser <dwaliss1@purdue.edu> Non-NIB-Code & other changes: Max Horn <max@quendi.de> Feel free to customize this file to suit your needs */ #ifndef _SDLMain_h_ #define _SDLMain_h_ #import <Cocoa/Cocoa.h> @interface SDLMain : NSObject @end #endif /* _SDLMain_h_ */