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

Method SpinLock

src/include/spinlock.hpp:92–92  ·  view source on GitHub ↗

* @brief 构造函数 * @param _name 锁名 * @note 需要堆初始化后可用 */

Source from the content-addressed store, hash-verified

90 * @note 需要堆初始化后可用
91 */
92 explicit SpinLock(const char* _name) : name(_name) {}
93
94 SpinLock() = default;
95 SpinLock(const SpinLock&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected