File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1830,6 +1830,7 @@ fn test_freebsd(target: &str) {
1830
1830
"sys/stat.h" ,
1831
1831
"sys/statvfs.h" ,
1832
1832
"sys/sysctl.h" ,
1833
+ "sys/thr.h" ,
1833
1834
"sys/time.h" ,
1834
1835
"sys/times.h" ,
1835
1836
"sys/timex.h" ,
Original file line number Diff line number Diff line change @@ -1752,6 +1752,9 @@ sysctl
1752
1752
sysctlbyname
1753
1753
sysctlnametomib
1754
1754
telldir
1755
+ thr_kill
1756
+ thr_kill2
1757
+ thr_self
1755
1758
timer_create
1756
1759
timer_delete
1757
1760
timer_getoverrun
Original file line number Diff line number Diff line change @@ -1791,6 +1791,9 @@ extern "C" {
1791
1791
1792
1792
pub fn uuidgen ( store : * mut uuid , count : :: c_int ) -> :: c_int ;
1793
1793
1794
+ pub fn thr_kill ( id : :: c_long , sig : :: c_int ) -> :: c_int ;
1795
+ pub fn thr_kill2 ( pid : :: pid_t , id : :: c_long , sig : :: c_int ) -> :: c_int ;
1796
+ pub fn thr_self ( tid : * mut :: c_long ) -> :: c_int ;
1794
1797
pub fn pthread_getthreadid_np ( ) -> :: c_int ;
1795
1798
pub fn pthread_getaffinity_np (
1796
1799
td : :: pthread_t ,
You can’t perform that action at this time.
0 commit comments