Nick Mathewson
|
c3b7258370
Merge remote-tracking branch 'isis/bug24660_r1'
|
пре 6 година |
Isis Lovecruft
|
fe3aca1491
crypto: Refactor (P)RNG functionality into new crypto_rand module.
|
пре 6 година |
Nick Mathewson
|
6a5f62f68f
Move responsibility for threadpool reply-handler events to workqueue
|
пре 7 година |
Nick Mathewson
|
fa0d24286b
Convert remaining function (mostly static) to new free style
|
пре 7 година |
Nick Mathewson
|
af3079a492
Try to work around a compile warning in workqueue.c
|
пре 7 година |
Nick Mathewson
|
f5a852de91
Note that threadpool_queue_work...() can't actually return NULL
|
пре 7 година |
Nick Mathewson
|
bddea78ded
Fix a pair of stale comments in workqueue.c
|
пре 7 година |
Nick Mathewson
|
efadebf7c3
Make the chance for priority inversion thread-specific
|
пре 7 година |
Nick Mathewson
|
10e0bff4ca
Add support for multi-priority workqueues
|
пре 7 година |
Nick Mathewson
|
44514058b9
Correctly handle fd-drain errors on windows workqueues
|
пре 7 година |
Nick Mathewson
|
aae034d13e
Write a bunch of module documentation.
|
пре 8 година |
Nick Mathewson
|
429d15c529
Mark the unreachable lines in compat_{,p}threads and workqueue
|
пре 8 година |
Nick Mathewson
|
23f8c9b32f
Add a brief file-level description for everything in src/common
|
пре 8 година |
Sebastian Hahn
|
32220d38c0
Ensure worker threads actually exit when it is time
|
пре 9 година |
Nick Mathewson
|
f724b2e5aa
Merge remote-tracking branch 'public/bug16741_026'
|
пре 9 година |
Nick Mathewson
|
720a9ccb2f
Check for EINTR correctly on windows
|
пре 9 година |
cypherpunks
|
b3ea3c8e2f
Switch order of unblocking threads and releasing the mutex.
|
пре 9 година |
cypherpunks
|
3b3b447f75
Fix some potential memory leaks in the thread pool code.
|
пре 9 година |
Nick Mathewson
|
a194385d56
Impose an upper limit on threads per threadpool.
|
пре 9 година |
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 година |