|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Classes | |
| struct | Room |
| Room of a destroyed stack, kept for the next stack of the thread. More... | |
| struct | Room_Keeper |
| Opens the room of the thread, and frees it when the thread ends, but for the thread of main() with glibc: then the process ends, which frees it, and freeing a room of 64 KiB or more would make glibc merge the small free blocks, which at the end of the process are often many. More... | |
Functions | |
| void | poison (const void *p, size_t bytes) noexcept |
| void | unpoison (const void *p, size_t bytes) noexcept |
| void | free_room (void *r, size_t bytes) noexcept |
| Room & | kept_room () noexcept |
| bool | in_main_thread () noexcept |
| Room & | open_room () noexcept |
Variables | |
| constexpr size_t | Kept_Bytes = 1024 * 1024 |
| constexpr bool | Poisoned = false |
|
inlinenoexcept |
Definition at line 139 of file tpl_dfs_stack.H.
References Poisoned, r, and unpoison().
Referenced by Aleph::dfs_stack_detail::Room_Keeper::~Room_Keeper(), Aleph::Dfs_Stack< T >::enlarge(), and Aleph::Dfs_Stack< T >::give_room_back().
|
inlinenoexcept |
Definition at line 168 of file tpl_dfs_stack.H.
Referenced by Aleph::dfs_stack_detail::Room_Keeper::~Room_Keeper(), and TEST().
|
inlinenoexcept |
Definition at line 157 of file tpl_dfs_stack.H.
Referenced by Aleph::dfs_stack_detail::Room_Keeper::Room_Keeper(), Aleph::dfs_stack_detail::Room_Keeper::~Room_Keeper(), Aleph::Dfs_Stack< T >::enlarge(), Aleph::Dfs_Stack< T >::give_room_back(), and open_room().
|
inlinenoexcept |
Definition at line 206 of file tpl_dfs_stack.H.
References kept_room().
Referenced by Aleph::Dfs_Stack< T >::grow().
|
inlinenoexcept |
Definition at line 123 of file tpl_dfs_stack.H.
Referenced by Aleph::Dfs_Stack< T >::clear(), Aleph::Dfs_Stack< T >::enlarge(), Aleph::Dfs_Stack< T >::give_room_back(), Aleph::Dfs_Stack< T >::pop(), and Aleph::Dfs_Stack< T >::push_in_poisoned_room().
|
inlinenoexcept |
Definition at line 131 of file tpl_dfs_stack.H.
Referenced by free_room(), and Aleph::Dfs_Stack< T >::push_in_poisoned_room().
|
inlineconstexpr |
Definition at line 111 of file tpl_dfs_stack.H.
|
inlineconstexpr |
Definition at line 117 of file tpl_dfs_stack.H.
Referenced by Aleph::Dfs_Stack< T >::clear(), free_room(), Aleph::Dfs_Stack< T >::pop(), and Aleph::Dfs_Stack< T >::push().