Skip to content

Commit

Permalink
Auto merge of #2424 - devnexen:solarish_th_name, r=JohnTitor
Browse files Browse the repository at this point in the history
pthread_getname_np/pthread_setname_np for solarish
  • Loading branch information
bors committed Sep 27, 2021
2 parents a128dcf + e718d4d commit 39d69eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/solarish/mod.rs
Expand Up @@ -2415,6 +2415,8 @@ extern "C" {
lock: *mut pthread_mutex_t,
abstime: *const ::timespec,
) -> ::c_int;
pub fn pthread_getname_np(tid: ::pthread_t, name: *mut ::c_char, len: ::size_t) -> ::c_int;
pub fn pthread_setname_np(tid: ::pthread_t, name: *const ::c_char) -> ::c_int;
pub fn waitid(idtype: idtype_t, id: id_t, infop: *mut ::siginfo_t, options: ::c_int)
-> ::c_int;

Expand Down

0 comments on commit 39d69eb

Please sign in to comment.