index
:
odin/Odin.git
bill/all_or_none
bill/any-type-switch-if-else
bill/change-license
bill/compiler-optimizations-2025-09
bill/conditional-zero
bill/const-union
bill/dir-organization
bill/disallow-128-bit
bill/fix-current-os-package
bill/fix-data-races-2026-02
bill/force-type-assert
bill/global-variable-distribution
bill/init-fini-changes
bill/integer-concatenation
bill/io-error-changes
bill/must-tail
bill/new-slice-sort
bill/range-init
bill/remove-test-suffix
bill/shared-partial-return-memory
bill/subtype-type-info
bill/typeid-sip-hash
bill/utf16-strings
core-flags
core_os2_revamp
custom-math-sin
fix-4225
llvm-12-support
master
middle-end
mimalloc
mv/libc-errors
new_os
orca-dev
text-template
update-tilde
windows-llvm-11.1.0
windows-llvm-12.0.1
windows-llvm-13.0.0
Odin Programming Language
Odin Lang
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
thread_pool.cpp
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix minor possible race condition
gingerBill
2023-01-16
1
-7
/
+6
*
Use `RwMutex` for the `Scope`
gingerBill
2023-01-03
1
-14
/
+13
*
General improves to `alloc_ast_node` and other unnecessary checks
gingerBill
2023-01-03
1
-3
/
+3
*
Narrow global `gen_procs_mutex` further
gingerBill
2023-01-02
1
-1
/
+1
*
Comment out many mutex guards in `type_(size|align)_of_internal`
gingerBill
2023-01-02
1
-11
/
+10
*
Fix pool running
gingerBill
2023-01-02
1
-2
/
+4
*
Remove some unneeded checks
gingerBill
2023-01-02
1
-1
/
+3
*
Minor clean up of thread pool code
gingerBill
2023-01-02
1
-9
/
+6
*
Remove use of queues for procedure checking.
gingerBill
2023-01-02
1
-0
/
+4
*
Minor style change
gingerBill
2023-01-02
1
-4
/
+2
*
Replace condition+mutex with futex
gingerBill
2023-01-02
1
-38
/
+34
*
Remove the synchronization primitive init/destroy calls
gingerBill
2023-01-01
1
-5
/
+0
*
Unify compiler `Futex` interface
gingerBill
2023-01-01
1
-3
/
+3
*
move to work-stealing threadpool
Colin Davidson
2022-12-28
1
-109
/
+143
*
Move `mutex` use around in thread pool
gingerBill
2022-12-20
1
-4
/
+3
*
Combine join and destroy for threads
gingerBill
2022-12-20
1
-7
/
+2
*
Remove need for `semaphore` in `Thread`
gingerBill
2022-12-20
1
-6
/
+1
*
Clarify ThreadPool interface; Move `import_mutex` guarding to just the string...
gingerBill
2022-12-20
1
-0
/
+12
*
`gb_internal` a lot
gingerBill
2022-12-18
1
-10
/
+10
*
Improve usage of `file_id`
gingerBill
2021-11-15
1
-1
/
+1
*
Add mutex around `condition_broadcast`
gingerBill
2021-08-26
1
-0
/
+6
*
Correct race condition and incorrect usage of `condition_signal` outside of a...
gingerBill
2021-08-26
1
-1
/
+1
*
Simplify logic for `-thread-count:1`
gingerBill
2021-08-26
1
-0
/
+8
*
Unify thread pool logic across the rest of the compiler, using a global threa...
gingerBill
2021-08-26
1
-25
/
+46
*
Improved `ThreadPool` implementation
gingerBill
2021-08-26
1
-60
/
+102
*
Remove unneeded +1 for `outstanding_task_count`
gingerBill
2021-08-26
1
-3
/
+0
*
Thread pool: create threads in thread_pool_wait
nakst
2021-08-23
1
-4
/
+6
*
thread_pool.cpp: fix with 1 thread; gb.h: remove buggy /proc/cpuinfo code
nakst
2021-08-23
1
-22
/
+16
*
Make `ThreadPool` use `std::atomic` and `heap_allocator()`
gingerBill
2021-08-22
1
-18
/
+8
*
Thread pool fix on Win32
nakst
2021-08-22
1
-1
/
+5
*
Rewrite thread_pool.cpp
nakst
2021-08-22
1
-132
/
+65
*
Make `ThreadPool.is_running` atomic
gingerBill
2021-08-19
1
-6
/
+6
*
Migrate and remove more from gb.h
gingerBill
2021-08-19
1
-13
/
+13
*
Move more of `gb.h`'s Synchronization code into common.cpp
gingerBill
2021-08-19
1
-15
/
+15
*
Correct mutex usage for `path_to_fullpath`; make `ThreadPool` use `BlockingMu...
gingerBill
2021-08-18
1
-10
/
+10
*
Simplify `thread_pool_wait_to_process`
gingerBill
2021-07-10
1
-0
/
+7
*
Move things around for sanity checking for multithread preparation
gingerBill
2021-07-10
1
-30
/
+10
*
Nearly approach full functionality for -use-separate-modules coupled with mul...
gingerBill
2021-05-04
1
-3
/
+0
*
Clean up thread pool code
gingerBill
2019-09-03
1
-58
/
+56
*
Fix semaphore posting
gingerBill
2019-09-03
1
-3
/
+10
*
Improve thread pool (volatile hints, etc)
gingerBill
2019-09-02
1
-17
/
+40
*
Remove thread naming on thread pool
gingerBill
2019-09-01
1
-0
/
+2
*
Remove custom allocator for thread pool
gingerBill
2019-09-01
1
-17
/
+2
*
Thread pool fixes
gingerBill
2019-09-01
1
-0
/
+169