OSX SDK demo app update

This commit is contained in:
Joseph Henry
2016-07-05 14:47:14 -05:00
parent 9f776adc69
commit 075a53475f
11 changed files with 109 additions and 16 deletions

View File

@@ -104,7 +104,7 @@ extern "C" {
*/
void init_service(int key, const char * path)
{
service_path = path;
homeDir = path;
pthread_key_create(&thr_id_key, NULL);
intercept_thread_id = (int*)malloc(sizeof(int));
*intercept_thread_id = key;