File tree Expand file tree Collapse file tree 6 files changed +30
-0
lines changed
Expand file tree Collapse file tree 6 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -2232,6 +2232,7 @@ pthread_spin_lock
22322232pthread_spin_trylock
22332233pthread_spin_unlock
22342234pthread_spinlock_t
2235+ pthread_timedjoin_np
22352236ptrace
22362237ptrace_io_desc
22372238ptrace_lwpinfo
Original file line number Diff line number Diff line change @@ -657,6 +657,8 @@ pthread_attr_setaffinity_np
657657pthread_rwlockattr_getkind_np
658658pthread_rwlockattr_getpshared
659659pthread_rwlockattr_setkind_np
660+ pthread_timedjoin_np
661+ pthread_tryjoin_np
660662ptrace_peeksiginfo_args
661663ptrace_sud_config
662664ptrace_syscall_info
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ prlimit
8181prlimit64
8282process_vm_readv
8383process_vm_writev
84+ pthread_timedjoin_np
8485pututxline
8586pwritev2
8687pwritev64
Original file line number Diff line number Diff line change @@ -4549,6 +4549,12 @@ extern "C" {
45494549 pub fn pthread_spin_trylock ( lock : * mut pthread_spinlock_t ) -> c_int ;
45504550 pub fn pthread_spin_unlock ( lock : * mut pthread_spinlock_t ) -> c_int ;
45514551
4552+ pub fn pthread_timedjoin_np (
4553+ thread : crate :: pthread_t ,
4554+ retval : * mut * mut c_void ,
4555+ abstime : * const crate :: timespec ,
4556+ ) -> c_int ;
4557+
45524558 #[ cfg_attr( all( target_os = "freebsd" , freebsd11) , link_name = "statfs@FBSD_1.0" ) ]
45534559 pub fn statfs ( path : * const c_char , buf : * mut statfs ) -> c_int ;
45544560 #[ cfg_attr( all( target_os = "freebsd" , freebsd11) , link_name = "fstatfs@FBSD_1.0" ) ]
Original file line number Diff line number Diff line change @@ -1115,6 +1115,16 @@ extern "C" {
11151115 val : c_int ,
11161116 ) -> c_int ;
11171117 pub fn pthread_sigqueue ( thread : crate :: pthread_t , sig : c_int , value : crate :: sigval ) -> c_int ;
1118+ pub fn pthread_tryjoin_np ( thread : crate :: pthread_t , retval : * mut * mut c_void ) -> c_int ;
1119+ #[ cfg_attr(
1120+ all( target_pointer_width = "32" , gnu_time_bits64) ,
1121+ link_name = "__pthread_timedjoin_np64"
1122+ ) ]
1123+ pub fn pthread_timedjoin_np (
1124+ thread : crate :: pthread_t ,
1125+ retval : * mut * mut c_void ,
1126+ abstime : * const crate :: timespec ,
1127+ ) -> c_int ;
11181128 pub fn mallinfo ( ) -> crate :: mallinfo ;
11191129 pub fn mallinfo2 ( ) -> crate :: mallinfo2 ;
11201130 pub fn malloc_stats ( ) ;
Original file line number Diff line number Diff line change @@ -869,6 +869,16 @@ extern "C" {
869869 note = "musl provides `utmp` as stubs and an alternative should be preferred; see https://wiki.musl-libc.org/faq.html"
870870 ) ]
871871 pub fn utmpxname ( file : * const c_char ) -> c_int ;
872+ pub fn pthread_tryjoin_np ( thread : crate :: pthread_t , retval : * mut * mut c_void ) -> c_int ;
873+ #[ cfg_attr(
874+ all( musl32_time64, target_pointer_width = "32" ) ,
875+ link_name = "__pthread_timedjoin_np_time64"
876+ ) ]
877+ pub fn pthread_timedjoin_np (
878+ thread : crate :: pthread_t ,
879+ retval : * mut * mut c_void ,
880+ abstime : * const crate :: timespec ,
881+ ) -> c_int ;
872882}
873883
874884// Alias <foo> to <foo>64 to mimic glibc's LFS64 support
You can’t perform that action at this time.
0 commit comments