Browse Source

Merge pull request #8 from ian-h-chamberlain/pthread_sigmask

Add stub pthread_sigmask implementation
pull/11/head
Meziu 3 years ago committed by GitHub
parent
commit
9fb7872855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      src/lib.rs

9
src/lib.rs

@ -394,6 +394,15 @@ pub unsafe extern "C" fn pthread_rwlockattr_destroy(
0 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 // THREAD KEYS IMPLEMENTATION FOR RUST STD
use spin::rwlock::RwLock; use spin::rwlock::RwLock;

Loading…
Cancel
Save