提交 922439a5 编写于 作者: E Enrico Giordani

[Fix] Enabled jemalloc thread safety.

Credit to @DavidADoran for reporting the problem https://github.com/MSOpenTech/redis/issues/376 and providing
the code to reproduce the bug.
上级 43cec2ed
......@@ -45,7 +45,7 @@ struct malloc_mutex_s {
extern bool isthreaded;
#else
# undef isthreaded /* Undo private_namespace.h definition. */
# define isthreaded false
# define isthreaded true
#endif
bool malloc_mutex_init(malloc_mutex_t *mutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册