mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-12 10:41:09 +03:00
Add hooking functionality
This allows us to hook chosen functions and do interesting things there (in particular: reentrancy checking).
This commit is contained in:
parent
36bd90b962
commit
0a0fcd3e6a
19 changed files with 183 additions and 11 deletions
|
|
@ -79,6 +79,7 @@ thd_start(void *arg) {
|
|||
}
|
||||
|
||||
TEST_BEGIN(test_tsd_main_thread) {
|
||||
test_skip_if(test_is_reentrant());
|
||||
thd_start((void *)(uintptr_t)0xa5f3e329);
|
||||
}
|
||||
TEST_END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue