MCPcopy Create free account
hub / github.com/bytedance/bolt / compareExchangeUserData

Method compareExchangeUserData

bolt/jit/CompiledModule.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool CompiledModule::compareExchangeUserData(
49 void* expected,
50 void* desired) noexcept {
51 return userData_.compare_exchange_strong(
52 expected, desired, std::memory_order_acq_rel, std::memory_order_acquire);
53}
54
55void* CompiledModule::getUserData() const noexcept {
56 return userData_.load(std::memory_order_acquire);

Callers 1

codegenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected