Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2015-08-09 23:43:04 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:00:18 +0300
commit26f51d1aa3ba27af0ac4124fbe2674670c25d848 (patch)
treeae58df0b5287f549257039e0acb7536f293ebc44 /iphone
parent6f40bb1666e85d84162549aca341d38a6ca412e7 (diff)
[ios] Removed not needed old work-around for correct multiple threads support.
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/main.mm14
1 files changed, 0 insertions, 14 deletions
diff --git a/iphone/Maps/main.mm b/iphone/Maps/main.mm
index 071b710e6e..0bd9cec366 100644
--- a/iphone/Maps/main.mm
+++ b/iphone/Maps/main.mm
@@ -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;