add threadpool implementation

This commit is contained in:
Konstantin Käfer
2014-03-03 12:17:32 +01:00
parent e134e6a8f3
commit b26f3d319b
6 changed files with 164 additions and 117 deletions

View File

@@ -258,12 +258,17 @@ double time() {
int main() {
curl_global_init(CURL_GLOBAL_ALL);
llmr::platform::Request::initialize();
mapView = new MapView();
mapView->init();
int ret = mapView->run();
mapView->settings.sync();
delete mapView;
pthread_exit(NULL);
llmr::platform::Request::finish();
curl_global_cleanup();
return ret;
}