Skip to content

Commit 42446e9

Browse files
authored
Merge pull request #3697 from devnexen/haiku_pthread_sigqueue
adding pthread_sigqueue to haiku.
2 parents 238d57b + cbaa0d8 commit 42446e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/haiku/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,7 @@ extern "C" {
17151715
lock: *mut pthread_mutex_t,
17161716
abstime: *const ::timespec,
17171717
) -> ::c_int;
1718+
pub fn pthread_sigqueue(thread: ::pthread_t, sig: ::c_int, value: ::sigval) -> ::c_int;
17181719
pub fn pthread_spin_init(lock: *mut ::pthread_spinlock_t, pshared: ::c_int) -> ::c_int;
17191720
pub fn pthread_spin_destroy(lock: *mut ::pthread_spinlock_t) -> ::c_int;
17201721
pub fn pthread_spin_lock(lock: *mut ::pthread_spinlock_t) -> ::c_int;

0 commit comments

Comments
 (0)