|
Broom 1.0.0
A thread-local C++ Garbage Collector
|
#include <broom.h>
Public Member Functions | |
| BroomSharingScope (broom_configuration config={}) | |
| ~BroomSharingScope () | |
| BroomSharingScope (const BroomSharingScope &other)=delete | |
| BroomSharingScope (BroomSharingScope &&other)=delete | |
| BroomSharingScope & | operator= (const BroomSharingScope &other)=delete |
| BroomSharingScope & | operator= (BroomSharingScope &&other)=delete |
A helper RAII wrapper for per-thread initialization and teardown of Broom with support for sharing pointers across threads. broom::sharing_scope is also available as an alias for this class to support a more traditional C++ style.
|
inline |
The constructor simply calls thread_init() with an optional configuration, setting the support_sharing value of broom_configuration to true.
| config | The configuration to initialize Broom on this thread with. This parameter will be modified with support_sharing set to true. |
|
inline |
The destructor simply calls thread_teardown().
|
delete |
|
delete |
|
delete |
|
delete |