This repository was archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
class thread_pooler
5cript edited this page Apr 25, 2021
·
4 revisions
class thread_pooler
: public attender::async_model
| Members | Descriptions |
|---|---|
public thread_pooler(asio::io_service * context,std::size_t thread_count,std::function< void()> initAction,std::function< void(std::exception const &)> exceptAction) |
|
public ~thread_pooler() |
|
protected virtual void setup_impl() |
Setups the async_model. |
protected virtual void teardown_impl() |
Tears down the internals. |
public thread_pooler(asio::io_service * context,std::size_t thread_count,std::function< void()> initAction,std::function< void(std::exception const &)> exceptAction)
Setups the async_model.
Must be overridden by the deriving class. The subclass can decide to call this by default on construction. There may be instances however, where setup on construction is undesirable, or impossible.
Tears down the internals.