Races and memory faults in ThreadPool.ensureThreads #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
toasty/stratagem#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
thread_countis incremented before thread is known to be successfully spawned.initonly commitsinit_thread_count * stack_sizeof memory, initializing more threads on some OSes will cause faults.other isses in
TheadPool:TheadErroris useless..seq_cstis sometimes unneccesarily used instead of.acq_rel.will tune heuristics later™️