[ios] Removed not needed old work-around for correct multiple threads support.

This commit is contained in:
Alex Zolotarev 2015-08-09 23:43:04 +03:00
parent 6f40bb1666
commit 26f51d1aa3

View file

@ -7,16 +7,6 @@
#include "../../platform/platform.hpp"
#include "../../platform/settings.hpp"
/// Used to trick iOs and enable multithreading support with non-native pthreads.
@interface Dummy : NSObject
- (void) dummyThread: (id) obj;
@end
@implementation Dummy
- (void) dummyThread: (id) obj {}
@end
int main(int argc, char * argv[])
{
#ifdef MWM_LOG_TO_FILE
@ -27,10 +17,6 @@ int main(int argc, char * argv[])
int retVal;
@autoreleasepool
{
Dummy * dummy = [Dummy alloc];
NSThread * thread = [[NSThread alloc] initWithTarget:dummy selector:@selector(dummyThread:) object:nil];
[thread start];
retVal = UIApplicationMain(argc, argv, nil, nil);
}
return retVal;