Initialize the allocator and setup global data
| 2756 | |
| 2757 | //! Initialize the allocator and setup global data |
| 2758 | extern inline int |
| 2759 | rpmalloc_initialize(void) { |
| 2760 | if (_rpmalloc_initialized) { |
| 2761 | rpmalloc_thread_initialize(); |
| 2762 | return 0; |
| 2763 | } |
| 2764 | return rpmalloc_initialize_config(0); |
| 2765 | } |
| 2766 | |
| 2767 | int |
| 2768 | rpmalloc_initialize_config(const rpmalloc_config_t* config) { |
no test coverage detected