Nick Mathewson
|
0b46b08225
Check thread count for negative; realloc->reallocarray
|
преди 9 години |
Nick Mathewson
|
5d2a23397a
Fix a few coverity "Use after NULL check" warnings
|
преди 9 години |
Sebastian Hahn
|
424edd5710
Don't leak a cond var when starting threads in a pool
|
преди 9 години |
Nick Mathewson
|
38b3f9a619
use the correct free fn. spotted by dgoulet
|
преди 9 години |
Nick Mathewson
|
3c8dabf69a
Fix up some workqueue/threading issues spotted by dgoulet.
|
преди 9 години |
Nick Mathewson
|
a52e549124
Update workqueue implementation to use a single queue for the work
|
преди 9 години |
Nick Mathewson
|
051ad788e0
Incorporate some comments based on notes from dgoulet
|
преди 11 години |
Nick Mathewson
|
1e896214e7
Refactor cpuworker to use workqueue/threadpool code.
|
преди 11 години |
Nick Mathewson
|
e5f8c772f4
Test and fix workqueue_entry_cancel().
|
преди 11 години |
Nick Mathewson
|
c51f7c23e3
Test a little more of compat_threads.c
|
преди 11 години |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
преди 11 години |
Nick Mathewson
|
4abbf13f99
Add a way to tell all threads to do something.
|
преди 11 години |
Nick Mathewson
|
51bc0e7f3d
Isolate the "socketpair or a pipe" logic for alerting main thread
|
преди 11 години |
Nick Mathewson
|
c7eebe237d
Make pending work cancellable.
|
преди 11 години |
Nick Mathewson
|
a82604b526
Initial workqueue implemention, with a simple test.
|
преди 11 години |