|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/task_thread_pool.hxx>
Public Member Functions | |
| virtual | ~TaskThreadPool () noexcept=default |
| virtual auto | thread_count () const noexcept -> ice::ncount=0 |
| virtual auto | managed_thread_count () const noexcept -> ice::ncount=0 |
| virtual auto | estimated_task_count () const noexcept -> ice::ncount=0 |
| virtual auto | create_thread (ice::StringID name) noexcept -> ice::TaskThread &=0 |
| Creates an additonal thread with the given name (ID). | |
| virtual auto | find_thread (ice::StringID name) noexcept -> ice::TaskThread *=0 |
| Finds a thread created or attached with the given name. | |
| virtual bool | destroy_thread (ice::StringID name) noexcept=0 |
| Destroyes a previosuly created or attached thread with the given name. | |
| virtual auto | attach_thread (ice::StringID name, ice::UniquePtr< ice::TaskThread > thread) noexcept -> ice::TaskThread &=0 |
| Attaches a user created thread to the pool. | |
| virtual auto | detach_thread (ice::StringID name) noexcept -> ice::UniquePtr< ice::TaskThread >=0 |
| Detaches a previously user created thread from the pool. | |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Attaches a user created thread to the pool.
|
pure virtualnoexcept |
Creates an additonal thread with the given name (ID).
|
pure virtualnoexcept |
Destroyes a previosuly created or attached thread with the given name.
|
pure virtualnoexcept |
Detaches a previously user created thread from the pool.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Finds a thread created or attached with the given name.
|
pure virtualnoexcept |
|
pure virtualnoexcept |