mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
fix use NOUSE_JEMALLOC
This commit is contained in:
@@ -257,6 +257,18 @@ mallctl_opt(const char* name, int* newval) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool
|
||||||
|
mallctl_bool(const char* name, bool* newval) {
|
||||||
|
skynet_error(NULL, "No jemalloc : mallctl_bool %s.", name);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
mallctl_cmd(const char* name) {
|
||||||
|
skynet_error(NULL, "No jemalloc : mallctl_cmd %s.", name);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
|
|||||||
Reference in New Issue
Block a user