Skip to content

Commit

Permalink
add pthread_equal
Browse files Browse the repository at this point in the history
(backport <rust-lang#3773>)
(cherry picked from commit 83b3393)
  • Loading branch information
joboet authored and tgross35 committed Aug 16, 2024
1 parent 1183d54 commit 8aeffed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/unix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ pthread_condattr_init
pthread_condattr_t
pthread_create
pthread_detach
pthread_equal
pthread_exit
pthread_getspecific
pthread_join
Expand Down
1 change: 1 addition & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ extern "C" {
pub fn times(buf: *mut ::tms) -> ::clock_t;

pub fn pthread_self() -> ::pthread_t;
pub fn pthread_equal(t1: ::pthread_t, t2: ::pthread_t) -> ::c_int;
#[cfg_attr(
all(target_os = "macos", target_arch = "x86"),
link_name = "pthread_join$UNIX2003"
Expand Down

0 comments on commit 8aeffed

Please sign in to comment.