Skip to content

Commit

Permalink
Merge pull request #3773 from joboet/pthread_equal
Browse files Browse the repository at this point in the history
add `pthread_equal`
  • Loading branch information
tgross35 authored Aug 13, 2024
2 parents dd8e81d + 83b3393 commit 07509d7
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 @@ -1030,6 +1030,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 07509d7

Please sign in to comment.