This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifdef TRACY_ENABLE | |
| /* rpmalloc.c - Memory allocator - Public Domain - 2016 Mattias Jansson | |
| * | |
| * This library provides a cross-platform lock free thread caching malloc implementation in C11. | |
| * The latest source code is always available at | |
| * | |
| * https://github.com/mjansson/rpmalloc | |
| * | |
| * This library is put in the public domain; you can redistribute it and/or modify it without any restrictions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // For information on how the runtime deals with initialization and finalization, read | |
| // https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-initialization | |
| // | |
| extern void rpmalloc_initialize(); | |
| extern void rpmalloc_finalize(); | |
| static void _global_rpmalloc_init(void); | |
| static void _global_rpmalloc_fini(void); |