diff options
| author | gingerBill <bill@gingerbill.org> | 2019-09-02 18:49:23 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-09-02 18:49:23 +0100 |
| commit | 1348d8a8cdefcb02be6ad9346ecbf24a4635fe0c (patch) | |
| tree | 9bccf682d7dcfc6c3d3f870c70dc6a604753a739 /src/gb | |
| parent | 495aaacb81b1b1a8175c9ad8aaa4448ab4085b6a (diff) | |
Improve thread pool (volatile hints, etc)
Diffstat (limited to 'src/gb')
| -rw-r--r-- | src/gb/gb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gb/gb.h b/src/gb/gb.h index 65b8b2ff6..1b2bc5188 100644 --- a/src/gb/gb.h +++ b/src/gb/gb.h @@ -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; |