-
- Downloads
add thread pool
A simple thread pool. It will start a new thread if all current threads are busy, up to the number of cores on the host. Keeps pending tasks on a queue. Adapts few uses in the daemon. Change-Id: Ia94a64bcdd4d8d8b16cf84e5a735c5246b08c13d
Showing
- src/Makefile.am 2 additions, 0 deletionssrc/Makefile.am
- src/ringdht/ringaccount.cpp 3 additions, 5 deletionssrc/ringdht/ringaccount.cpp
- src/security/certstore.cpp 3 additions, 2 deletionssrc/security/certstore.cpp
- src/thread_pool.cpp 102 additions, 0 deletionssrc/thread_pool.cpp
- src/thread_pool.h 63 additions, 0 deletionssrc/thread_pool.h
Loading
Please register or sign in to comment