Skip to content

Commit 36407f3

Browse files
devnexentgross35
authored andcommitted
adding pthread_sigqueue to haiku.
(backport <#3697>) (cherry picked from commit cbaa0d8)
1 parent 0f3edec commit 36407f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,6 +1791,7 @@ extern "C" {
17911791
lock: *mut pthread_mutex_t,
17921792
abstime: *const ::timespec,
17931793
) -> ::c_int;
1794+
pub fn pthread_sigqueue(thread: ::pthread_t, sig: ::c_int, value: ::sigval) -> ::c_int;
17941795
pub fn pthread_spin_init(lock: *mut ::pthread_spinlock_t, pshared: ::c_int) -> ::c_int;
17951796
pub fn pthread_spin_destroy(lock: *mut ::pthread_spinlock_t) -> ::c_int;
17961797
pub fn pthread_spin_lock(lock: *mut ::pthread_spinlock_t) -> ::c_int;

0 commit comments

Comments
 (0)