Last active
September 15, 2019 07:47
-
-
Save swilly22/394d1eb95908c5acb9d492a786891a59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Query_Execute() { | |
/* Call ExecutionPlan_Execute on a different thread | |
* and wait for it to exit */ | |
char *error = NULL; | |
pthread_t thread; | |
pthread_create(&thread, NULL, ExecutionPlan_Execute, NULL); | |
pthread_join(thread, &error); | |
if(error != NULL) { | |
// Exception been thrown. | |
reportError(error); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment