7b9e2400f5ab85c76da10ad8ff35db2c4b5728af
[melted] / src / modules / sdl / consumer_sdl_osx_hack.h
1 /* Author: Zachary Drew
2 * Purpose: A dummy thread object to inform Cocoa that it needs to be thread safe.
3 */
4
5 #import <Foundation/Foundation.h>
6
7 @interface DummyThread : NSObject
8 - init;
9 - (void)startThread:(id)arg;
10 @end
11
12 @implementation DummyThread
13 - init
14 {
15 [super init];
16 return self;
17 }
18 - (void)startThread:(id)arg
19 {
20 return;
21 }
22 @end