MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / BmallocLogger

Class BmallocLogger

src/memory/memory.cpp:22–27  ·  view source on GitHub ↗

bmalloc 日志回调(空实现)

Source from the content-addressed store, hash-verified

20
21/// bmalloc 日志回调(空实现)
22struct BmallocLogger {
23 auto operator()(const char* format, ...) const -> int {
24 (void)format;
25 return 0;
26 }
27};
28
29/**
30 * @brief bmalloc 线程安全锁(基于 SpinLock)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected