docs: update memory and threading API docs

This commit is contained in:
2026-03-20 02:35:24 +08:00
parent c5b17239ca
commit fd792b7df1
103 changed files with 2485 additions and 673 deletions

View File

@@ -30,9 +30,9 @@ public:
void Free(void* ptr) override {
if (ptr) {
size_t size = 256; // 需要外部记录
// size 需要分配器内部记录或通过其他机制获取
::operator delete(ptr);
m_current -= size;
m_current -= 256; // 示例中硬编码
}
}