Improve thread pool (volatile hints, etc)

This commit is contained in:
gingerBill
2019-09-02 18:49:23 +01:00
parent 495aaacb81
commit 1348d8a8cd
3 changed files with 45 additions and 22 deletions
+4 -4
View File
@@ -978,10 +978,10 @@ typedef struct gbThread {
pthread_t posix_handle;
#endif
gbThreadProc *proc;
void * user_data;
isize user_index;
isize return_value;
gbThreadProc * proc;
void * user_data;
isize user_index;
isize volatile return_value;
gbSemaphore semaphore;
isize stack_size;