Nick Mathewson
|
23f8c9b32f
Add a brief file-level description for everything in src/common
|
8 år sedan |
Sebastian Hahn
|
32220d38c0
Ensure worker threads actually exit when it is time
|
9 år sedan |
Nick Mathewson
|
f724b2e5aa
Merge remote-tracking branch 'public/bug16741_026'
|
9 år sedan |
Nick Mathewson
|
720a9ccb2f
Check for EINTR correctly on windows
|
9 år sedan |
cypherpunks
|
b3ea3c8e2f
Switch order of unblocking threads and releasing the mutex.
|
9 år sedan |
cypherpunks
|
3b3b447f75
Fix some potential memory leaks in the thread pool code.
|
9 år sedan |
Nick Mathewson
|
a194385d56
Impose an upper limit on threads per threadpool.
|
9 år sedan |
Nick Mathewson
|
0b46b08225
Check thread count for negative; realloc->reallocarray
|
9 år sedan |
Nick Mathewson
|
5d2a23397a
Fix a few coverity "Use after NULL check" warnings
|
9 år sedan |
Sebastian Hahn
|
424edd5710
Don't leak a cond var when starting threads in a pool
|
9 år sedan |
Nick Mathewson
|
38b3f9a619
use the correct free fn. spotted by dgoulet
|
9 år sedan |
Nick Mathewson
|
3c8dabf69a
Fix up some workqueue/threading issues spotted by dgoulet.
|
9 år sedan |
Nick Mathewson
|
a52e549124
Update workqueue implementation to use a single queue for the work
|
9 år sedan |
Nick Mathewson
|
051ad788e0
Incorporate some comments based on notes from dgoulet
|
11 år sedan |
Nick Mathewson
|
1e896214e7
Refactor cpuworker to use workqueue/threadpool code.
|
11 år sedan |
Nick Mathewson
|
e5f8c772f4
Test and fix workqueue_entry_cancel().
|
11 år sedan |
Nick Mathewson
|
c51f7c23e3
Test a little more of compat_threads.c
|
11 år sedan |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
11 år sedan |
Nick Mathewson
|
4abbf13f99
Add a way to tell all threads to do something.
|
11 år sedan |
Nick Mathewson
|
51bc0e7f3d
Isolate the "socketpair or a pipe" logic for alerting main thread
|
11 år sedan |
Nick Mathewson
|
c7eebe237d
Make pending work cancellable.
|
11 år sedan |
Nick Mathewson
|
a82604b526
Initial workqueue implemention, with a simple test.
|
11 år sedan |