Improve thread pool (volatile hints, etc)

This commit is contained in:
gingerBill committed 2019-09-02 18:49:23 +01:00
1 parent 495aaacb81
commit 1348d8a8cd
3 files changed
+45 -22

No files matched your search

+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;