Browse Source

Add stub pthread_sigmask implementation

pull/8/head
Ian Chamberlain 3 years ago
parent
commit
5d36aefb44
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 9
      src/lib.rs

9
src/lib.rs

@ -394,6 +394,15 @@ pub unsafe extern "C" fn pthread_rwlockattr_destroy( @@ -394,6 +394,15 @@ pub unsafe extern "C" fn pthread_rwlockattr_destroy(
0
}
#[no_mangle]
pub unsafe extern "C" fn pthread_sigmask(
_how: ::libc::c_int,
_set: *const libc::sigset_t,
_oldset: *mut libc::sigset_t,
) -> ::libc::c_int {
-1
}
// THREAD KEYS IMPLEMENTATION FOR RUST STD
use spin::rwlock::RwLock;

Loading…
Cancel
Save