|
@@ -1,7 +1,9 @@
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_destroy(arg1: *mut pthread_attr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getdetachstate(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -9,6 +11,7 @@ pub extern "C" fn pthread_attr_getdetachstate(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getguardsize(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut usize,
|
|
@@ -16,6 +19,7 @@ pub extern "C" fn pthread_attr_getguardsize(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getinheritsched(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -23,6 +27,7 @@ pub extern "C" fn pthread_attr_getinheritsched(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getschedparam(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut sched_param,
|
|
@@ -30,6 +35,7 @@ pub extern "C" fn pthread_attr_getschedparam(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getschedpolicy(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -37,6 +43,7 @@ pub extern "C" fn pthread_attr_getschedpolicy(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getscope(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -44,6 +51,7 @@ pub extern "C" fn pthread_attr_getscope(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getstackaddr(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut *mut libc::c_void,
|
|
@@ -51,6 +59,7 @@ pub extern "C" fn pthread_attr_getstackaddr(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_getstacksize(
|
|
|
arg1: *const pthread_attr_t,
|
|
|
arg2: *mut usize,
|
|
@@ -58,10 +67,12 @@ pub extern "C" fn pthread_attr_getstacksize(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_init(arg1: *mut pthread_attr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setdetachstate(
|
|
|
arg1: *mut pthread_attr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -69,10 +80,12 @@ pub extern "C" fn pthread_attr_setdetachstate(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setguardsize(arg1: *mut pthread_attr_t, arg2: usize) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setinheritsched(
|
|
|
arg1: *mut pthread_attr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -80,6 +93,7 @@ pub extern "C" fn pthread_attr_setinheritsched(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setschedparam(
|
|
|
arg1: *mut pthread_attr_t,
|
|
|
arg2: *mut sched_param,
|
|
@@ -87,6 +101,7 @@ pub extern "C" fn pthread_attr_setschedparam(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setschedpolicy(
|
|
|
arg1: *mut pthread_attr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -94,6 +109,7 @@ pub extern "C" fn pthread_attr_setschedpolicy(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setscope(
|
|
|
arg1: *mut pthread_attr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -101,6 +117,7 @@ pub extern "C" fn pthread_attr_setscope(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setstackaddr(
|
|
|
arg1: *mut pthread_attr_t,
|
|
|
arg2: *mut libc::c_void,
|
|
@@ -108,30 +125,37 @@ pub extern "C" fn pthread_attr_setstackaddr(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_attr_setstacksize(arg1: *mut pthread_attr_t, arg2: usize) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cancel(arg1: pthread_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cleanup_push(arg1: *mut libc::c_void, arg2: *mut libc::c_void) {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cleanup_pop(arg1: libc::c_int) {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cond_broadcast(arg1: *mut pthread_cond_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cond_destroy(arg1: *mut pthread_cond_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cond_init(
|
|
|
arg1: *mut pthread_cond_t,
|
|
|
arg2: *const pthread_condattr_t,
|
|
@@ -139,10 +163,12 @@ pub extern "C" fn pthread_cond_init(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cond_signal(arg1: *mut pthread_cond_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cond_timedwait(
|
|
|
arg1: *mut pthread_cond_t,
|
|
|
arg2: *mut pthread_mutex_t,
|
|
@@ -151,6 +177,7 @@ pub extern "C" fn pthread_cond_timedwait(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_cond_wait(
|
|
|
arg1: *mut pthread_cond_t,
|
|
|
arg2: *mut pthread_mutex_t,
|
|
@@ -158,10 +185,12 @@ pub extern "C" fn pthread_cond_wait(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_condattr_destroy(arg1: *mut pthread_condattr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_condattr_getpshared(
|
|
|
arg1: *const pthread_condattr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -169,10 +198,12 @@ pub extern "C" fn pthread_condattr_getpshared(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_condattr_init(arg1: *mut pthread_condattr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_condattr_setpshared(
|
|
|
arg1: *mut pthread_condattr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -180,6 +211,7 @@ pub extern "C" fn pthread_condattr_setpshared(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_create(
|
|
|
arg1: *mut pthread_t,
|
|
|
arg2: *const pthread_attr_t,
|
|
@@ -189,22 +221,27 @@ pub extern "C" fn pthread_create(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_detach(arg1: pthread_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_equal(arg1: pthread_t, arg2: pthread_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_exit(arg1: *mut libc::c_void) {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_getconcurrency() -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_getschedparam(
|
|
|
arg1: pthread_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -213,14 +250,17 @@ pub extern "C" fn pthread_getschedparam(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_getspecific(arg1: pthread_key_t) -> *mut libc::c_void {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_join(arg1: pthread_t, arg2: *mut *mut libc::c_void) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_key_create(
|
|
|
arg1: *mut pthread_key_t,
|
|
|
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut libc::c_void)>,
|
|
@@ -228,14 +268,17 @@ pub extern "C" fn pthread_key_create(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_key_delete(arg1: pthread_key_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_destroy(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_getprioceiling(
|
|
|
arg1: *const pthread_mutex_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -243,6 +286,7 @@ pub extern "C" fn pthread_mutex_getprioceiling(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_init(
|
|
|
arg1: *mut pthread_mutex_t,
|
|
|
arg2: *const pthread_mutexattr_t,
|
|
@@ -250,10 +294,12 @@ pub extern "C" fn pthread_mutex_init(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_lock(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_setprioceiling(
|
|
|
arg1: *mut pthread_mutex_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -262,18 +308,22 @@ pub extern "C" fn pthread_mutex_setprioceiling(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_trylock(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutex_unlock(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_destroy(arg1: *mut pthread_mutexattr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_getprioceiling(
|
|
|
arg1: *const pthread_mutexattr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -281,6 +331,7 @@ pub extern "C" fn pthread_mutexattr_getprioceiling(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_getprotocol(
|
|
|
arg1: *const pthread_mutexattr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -288,6 +339,7 @@ pub extern "C" fn pthread_mutexattr_getprotocol(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_getpshared(
|
|
|
arg1: *const pthread_mutexattr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -295,6 +347,7 @@ pub extern "C" fn pthread_mutexattr_getpshared(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_gettype(
|
|
|
arg1: *const pthread_mutexattr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -302,10 +355,12 @@ pub extern "C" fn pthread_mutexattr_gettype(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_init(arg1: *mut pthread_mutexattr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_setprioceiling(
|
|
|
arg1: *mut pthread_mutexattr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -313,6 +368,7 @@ pub extern "C" fn pthread_mutexattr_setprioceiling(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_setprotocol(
|
|
|
arg1: *mut pthread_mutexattr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -320,6 +376,7 @@ pub extern "C" fn pthread_mutexattr_setprotocol(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_setpshared(
|
|
|
arg1: *mut pthread_mutexattr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -327,6 +384,7 @@ pub extern "C" fn pthread_mutexattr_setpshared(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_mutexattr_settype(
|
|
|
arg1: *mut pthread_mutexattr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -334,6 +392,7 @@ pub extern "C" fn pthread_mutexattr_settype(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_once(
|
|
|
arg1: *mut pthread_once_t,
|
|
|
arg2: ::std::option::Option<unsafe extern "C" fn()>,
|
|
@@ -341,10 +400,12 @@ pub extern "C" fn pthread_once(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_destroy(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_init(
|
|
|
arg1: *mut pthread_rwlock_t,
|
|
|
arg2: *const pthread_rwlockattr_t,
|
|
@@ -352,30 +413,37 @@ pub extern "C" fn pthread_rwlock_init(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_rdlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_tryrdlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_trywrlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_unlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlock_wrlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlockattr_destroy(arg1: *mut pthread_rwlockattr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlockattr_getpshared(
|
|
|
arg1: *const pthread_rwlockattr_t,
|
|
|
arg2: *mut libc::c_int,
|
|
@@ -383,10 +451,12 @@ pub extern "C" fn pthread_rwlockattr_getpshared(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlockattr_init(arg1: *mut pthread_rwlockattr_t) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_rwlockattr_setpshared(
|
|
|
arg1: *mut pthread_rwlockattr_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -394,22 +464,27 @@ pub extern "C" fn pthread_rwlockattr_setpshared(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_self() -> pthread_t {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_setcancelstate(arg1: libc::c_int, arg2: *mut libc::c_int) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_setcanceltype(arg1: libc::c_int, arg2: *mut libc::c_int) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_setconcurrency(arg1: libc::c_int) -> libc::c_int {
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_setschedparam(
|
|
|
arg1: pthread_t,
|
|
|
arg2: libc::c_int,
|
|
@@ -418,6 +493,7 @@ pub extern "C" fn pthread_setschedparam(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_setspecific(
|
|
|
arg1: pthread_key_t,
|
|
|
arg2: *const libc::c_void,
|
|
@@ -425,6 +501,7 @@ pub extern "C" fn pthread_setspecific(
|
|
|
unimplemented!();
|
|
|
}
|
|
|
|
|
|
+#[no_mangle]
|
|
|
pub extern "C" fn pthread_testcancel() {
|
|
|
unimplemented!();
|
|
|
}
|