![]() |
Public Methods | |||
| ThreadPool (int max_threads=-1, bool exclusive=false) | |||
| |||
| virtual | ~ThreadPool () | ||
| void | push (const SigC::Slot0<void>& slot) | ||
| |||
| void | set_max_threads (int max_threads) | ||
| |||
| int | get_max_threads () const | ||
| unsigned int | get_num_threads () const | ||
| unsigned int | unprocessed () const | ||
| void | shutdown (bool immediately=false) | ||
| GThreadPool* | gobj () | ||
| const GThreadPool* | gobj () const | ||
Static Public Methods | |||
| void | set_max_unused_threads (int max_threads) | ||
| int | get_max_unused_threads () | ||
| unsigned int | get_num_unused_threads () | ||
| void | stop_unused_threads () | ||
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|