|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
线程退出时的回调管理 更多...
类 | |
| struct | at_thread_exit_elt |
| 线程退出回调元素 更多... | |
函数 | |
| void NEFORCE_API | thread_exit_register (at_thread_exit_elt *elt, void(*callback)(void *)) noexcept |
| 注册线程退出回调 | |
线程退出时的回调管理
|
noexcept |
注册线程退出回调
| elt | 回调元素指针 |
| callback | 回调函数 |
将一个回调函数注册到当前线程的退出回调列表中。 回调函数将在当前线程退出时被调用,参数为elt指针本身。