File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1939,6 +1939,7 @@ fn test_freebsd(target: &str) {
1939
1939
"sys/ucontext.h" ,
1940
1940
"sys/uio.h" ,
1941
1941
"sys/ktrace.h" ,
1942
+ "sys/umtx.h" ,
1942
1943
"sys/un.h" ,
1943
1944
"sys/user.h" ,
1944
1945
"sys/utsname.h" ,
Original file line number Diff line number Diff line change @@ -1240,6 +1240,7 @@ UF_REPARSE
1240
1240
UF_SETTABLE
1241
1241
UF_SPARSE
1242
1242
UF_SYSTEM
1243
+ UMTX_ABSTIME
1243
1244
UMTX_OP_WAIT
1244
1245
UMTX_OP_WAKE
1245
1246
UMTX_OP_MUTEX_TRYLOCK
Original file line number Diff line number Diff line change @@ -1198,6 +1198,12 @@ s_no_extra_traits! {
1198
1198
pub ifdr_vendor: u32 ,
1199
1199
pub ifdr_msg: [ :: c_char; :: IFDR_MSG_SIZE as usize ] ,
1200
1200
}
1201
+
1202
+ pub struct _umtx_time {
1203
+ pub _timeout: :: timespec,
1204
+ pub _flags: u32 ,
1205
+ pub _clockid: u32 ,
1206
+ }
1201
1207
}
1202
1208
1203
1209
cfg_if ! {
@@ -3682,6 +3688,8 @@ pub const UMTX_OP_SEM2_WAKE: ::c_int = 24;
3682
3688
pub const UMTX_OP_SHM : :: c_int = 25 ;
3683
3689
pub const UMTX_OP_ROBUST_LISTS : :: c_int = 26 ;
3684
3690
3691
+ pub const UMTX_ABSTIME : u32 = 1 ;
3692
+
3685
3693
const_fn ! {
3686
3694
{ const } fn _ALIGN( p: usize ) -> usize {
3687
3695
( p + _ALIGNBYTES) & !_ALIGNBYTES
You can’t perform that action at this time.
0 commit comments