MCPcopy Create free account
hub / github.com/baidu/babylon / create_futex

Method create_futex

example/use-execution-queue/butex_interface.h:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34inline uint32_t* ButexInterface::create_futex() noexcept {
35 return ::bthread::butex_create_checked<uint32_t>();
36}
37
38inline void ButexInterface::destroy_futex(uint32_t* butex) noexcept {
39 return ::bthread::butex_destroy(butex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected