atomic_singlethreadfence

atomic_singlethreadfence (단일 스레드 원자 펜스)

단일 스레드 내 동기화를 위한 원자 펜스 내장 함수예요.

출처: Rust 공식 문서

본문

단일 스레드 내 동기화를 위한 원자 펜스를 수행해요. 안정화된 버전은 atomic::compiler_fence 에서 사용할 수 있어요.

pub unsafe fn atomic_singlethreadfence<const ORD: AtomicOrdering >()

더 알아보기 (Learn more)

Rust 공식 문서