|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
线程管理类 更多...
#include "NeForce/core/async/this_thread.hpp"#include "NeForce/core/exception/exception.hpp"#include "NeForce/core/functional/apply.hpp"#include "NeForce/core/memory/unique_ptr.hpp"#include <pthread.h>类 | |
| struct | neforce::thread_exception |
| 线程操作异常 更多... | |
| class | neforce::thread |
| 线程类 更多... | |
| struct | neforce::thread::id |
| 线程唯一标识符类 更多... | |
| struct | neforce::thread::hook |
| 线程生命周期钩子 更多... | |
函数 | |
| thread::id | neforce::this_thread::id () noexcept |
| 获取当前线程标识符 | |
| thread::native_handle_type | neforce::this_thread::handle () noexcept |
| 获取当前线程句柄 | |
| bool | neforce::this_thread::name (char *buffer, size_t size) |
| 获取当前线程名称 | |
| bool | neforce::this_thread::set_name (const char *name) |
| 设置当前线程名称 | |