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) {
19391939 "sys/ucontext.h" ,
19401940 "sys/uio.h" ,
19411941 "sys/ktrace.h" ,
1942+ "sys/umtx.h" ,
19421943 "sys/un.h" ,
19431944 "sys/user.h" ,
19441945 "sys/utsname.h" ,
Original file line number Diff line number Diff line change @@ -1240,6 +1240,7 @@ UF_REPARSE
12401240UF_SETTABLE
12411241UF_SPARSE
12421242UF_SYSTEM
1243+ UMTX_ABSTIME
12431244UMTX_OP_WAIT
12441245UMTX_OP_WAKE
12451246UMTX_OP_MUTEX_TRYLOCK
Original file line number Diff line number Diff line change @@ -988,6 +988,12 @@ s! {
988988 pub function_set_name: [ :: c_char; :: TCP_FUNCTION_NAME_LEN_MAX as usize ] ,
989989 pub pcbcnt: u32 ,
990990 }
991+
992+ pub struct _umtx_time {
993+ pub _timeout: :: timespec,
994+ pub _flags: u32 ,
995+ pub _clockid: u32 ,
996+ }
991997}
992998
993999s_no_extra_traits ! {
@@ -3682,6 +3688,8 @@ pub const UMTX_OP_SEM2_WAKE: ::c_int = 24;
36823688pub const UMTX_OP_SHM : :: c_int = 25 ;
36833689pub const UMTX_OP_ROBUST_LISTS : :: c_int = 26 ;
36843690
3691+ pub const UMTX_ABSTIME : u32 = 1 ;
3692+
36853693const_fn ! {
36863694 { const } fn _ALIGN( p: usize ) -> usize {
36873695 ( p + _ALIGNBYTES) & !_ALIGNBYTES
You can’t perform that action at this time.
0 commit comments