aboutsummaryrefslogtreecommitdiff
path: root/src/thread_pool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add mutex around `condition_broadcast`gingerBill2021-08-261-0/+6
|
* Correct race condition and incorrect usage of `condition_signal` outside of ↵gingerBill2021-08-261-1/+1
| | | | a mutex lock
* Simplify logic for `-thread-count:1`gingerBill2021-08-261-0/+8
|
* Unify thread pool logic across the rest of the compiler, using a global ↵gingerBill2021-08-261-25/+46
| | | | thread pool
* Improved `ThreadPool` implementationgingerBill2021-08-261-60/+102
|
* Remove unneeded +1 for `outstanding_task_count`gingerBill2021-08-261-3/+0
|
* Thread pool: create threads in thread_pool_waitnakst2021-08-231-4/+6
|
* thread_pool.cpp: fix with 1 thread; gb.h: remove buggy /proc/cpuinfo codenakst2021-08-231-22/+16
|
* Make `ThreadPool` use `std::atomic` and `heap_allocator()`gingerBill2021-08-221-18/+8
|
* Thread pool fix on Win32nakst2021-08-221-1/+5
|
* Rewrite thread_pool.cppnakst2021-08-221-132/+65
|
* Make `ThreadPool.is_running` atomicgingerBill2021-08-191-6/+6
|
* Migrate and remove more from gb.hgingerBill2021-08-191-13/+13
|
* Move more of `gb.h`'s Synchronization code into common.cppgingerBill2021-08-191-15/+15
|
* Correct mutex usage for `path_to_fullpath`; make `ThreadPool` use ↵gingerBill2021-08-181-10/+10
| | | | `BlockingMutex`
* Simplify `thread_pool_wait_to_process`gingerBill2021-07-101-0/+7
|
* Move things around for sanity checking for multithread preparationgingerBill2021-07-101-30/+10
|
* Nearly approach full functionality for -use-separate-modules coupled with ↵gingerBill2021-05-041-3/+0
| | | | multithreading
* Clean up thread pool codegingerBill2019-09-031-58/+56
|
* Fix semaphore postinggingerBill2019-09-031-3/+10
|
* Improve thread pool (volatile hints, etc)gingerBill2019-09-021-17/+40
|
* Remove thread naming on thread poolgingerBill2019-09-011-0/+2
|
* Remove custom allocator for thread poolgingerBill2019-09-011-17/+2
|
* Thread pool fixesgingerBill2019-09-011-0/+169