Skip to content

Commit 6bdd4c8

Browse files
committed
auto merge of #7054 : yichoi/rust/after_jemalloc, r=brson
jemalloc searches pthread_atfork
2 parents df5b0c0 + febba9f commit 6bdd4c8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/rt/rust_android_dummy.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,11 @@ extern "C" void globfree(glob_t *pglob)
7676
{
7777
}
7878

79+
extern "C" int pthread_atfork(void (*prefork)(void),
80+
void (*postfork_parent)(void),
81+
void (*postfork_child)(void))
82+
{
83+
return 0;
84+
}
85+
7986
#endif

0 commit comments

Comments
 (0)