rigged tests for linux trial

This commit is contained in:
Joseph Henry
2016-06-27 16:25:50 -07:00
parent c757276c06
commit 2fcb8deb59
4 changed files with 6 additions and 2 deletions

View File

@@ -107,6 +107,8 @@ pthread_key_t thr_id_key;
if(!realconnect){
load_symbols();
}
return 1;
void *spec = pthread_getspecific(thr_id_key);
int thr_id = spec != NULL ? *((int*)spec) : -1;
return thr_id == INTERCEPT_ENABLED;