Skip to content

Commit 83b3393

Browse files
joboettgross35
authored andcommitted
add pthread_equal
1 parent 0f4fa73 commit 83b3393

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/unix.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ pthread_condattr_init
687687
pthread_condattr_t
688688
pthread_create
689689
pthread_detach
690+
pthread_equal
690691
pthread_exit
691692
pthread_getspecific
692693
pthread_join

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,7 @@ extern "C" {
10301030
pub fn times(buf: *mut ::tms) -> ::clock_t;
10311031

10321032
pub fn pthread_self() -> ::pthread_t;
1033+
pub fn pthread_equal(t1: ::pthread_t, t2: ::pthread_t) -> ::c_int;
10331034
#[cfg_attr(
10341035
all(target_os = "macos", target_arch = "x86"),
10351036
link_name = "pthread_join$UNIX2003"

0 commit comments

Comments
 (0)