@@ -35,6 +35,7 @@ extern "C" {
35
35
#[ inline]
36
36
#[ cfg_attr( test, assert_instr( memory. atomic. wait32) ) ]
37
37
#[ target_feature( enable = "atomics" ) ]
38
+ #[ doc( alias( "memory.atomic.wait32" ) ) ]
38
39
pub unsafe fn memory_atomic_wait32 ( ptr : * mut i32 , expression : i32 , timeout_ns : i64 ) -> i32 {
39
40
llvm_atomic_wait_i32 ( ptr, expression, timeout_ns)
40
41
}
@@ -64,6 +65,7 @@ pub unsafe fn memory_atomic_wait32(ptr: *mut i32, expression: i32, timeout_ns: i
64
65
#[ inline]
65
66
#[ cfg_attr( test, assert_instr( memory. atomic. wait64) ) ]
66
67
#[ target_feature( enable = "atomics" ) ]
68
+ #[ doc( alias( "memory.atomic.wait64" ) ) ]
67
69
pub unsafe fn memory_atomic_wait64 ( ptr : * mut i64 , expression : i64 , timeout_ns : i64 ) -> i32 {
68
70
llvm_atomic_wait_i64 ( ptr, expression, timeout_ns)
69
71
}
@@ -85,6 +87,7 @@ pub unsafe fn memory_atomic_wait64(ptr: *mut i64, expression: i64, timeout_ns: i
85
87
#[ inline]
86
88
#[ cfg_attr( test, assert_instr( memory. atomic. notify) ) ]
87
89
#[ target_feature( enable = "atomics" ) ]
90
+ #[ doc( alias( "memory.atomic.notify" ) ) ]
88
91
pub unsafe fn memory_atomic_notify ( ptr : * mut i32 , waiters : u32 ) -> u32 {
89
92
llvm_atomic_notify ( ptr, waiters as i32 ) as u32
90
93
}
0 commit comments