Skip to content

Commit

Permalink
Auto merge of #3364 - devnexen:haiku_gnu_upd, r=JohnTitor
Browse files Browse the repository at this point in the history
haiku adding pthread GNU part
  • Loading branch information
bors committed Sep 29, 2023
2 parents eca81c4 + 325abdb commit 6e02a32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/unix/haiku/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2064,6 +2064,14 @@ extern "C" {
search: *const ::c_void,
searchLength: ::size_t,
) -> *mut ::c_void;

pub fn pthread_getattr_np(thread: ::pthread_t, attr: *mut ::pthread_attr_t) -> ::c_int;
pub fn pthread_getname_np(
thread: ::pthread_t,
buffer: *mut ::c_char,
length: ::size_t,
) -> ::c_int;
pub fn pthread_setname_np(thread: ::pthread_t, name: *const ::c_char) -> ::c_int;
}

cfg_if! {
Expand Down

0 comments on commit 6e02a32

Please sign in to comment.