Add async::threadpool::thread_count()
This commit is contained in:
parent
5a0469364f
commit
9600bd96d5
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ namespace psemek::async
|
|||
|
||||
~threadpool() override { stop(); }
|
||||
|
||||
std::size_t thread_count() const { return threads_.size(); }
|
||||
|
||||
void post(task t) override;
|
||||
|
||||
void post_at(clock::time_point time, task t) override;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue