Skip to content

Commit b0b3370

Browse files
committed
[unix] Add pthread_kill.
1 parent 213a0f9 commit b0b3370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ extern {
488488
link_name = "pthread_sigmask$UNIX2003")]
489489
pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t,
490490
oldset: *mut sigset_t) -> ::c_int;
491+
pub fn pthread_kill(thread: ::pthread_t, sig: ::c_int) -> ::c_int;
491492

492493
// #[cfg_attr(target_os = "linux", link_name = "__xpg_strerror_r")]
493494
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,

0 commit comments

Comments
 (0)