Skip to content
Snippets Groups Projects
Commit 0157f7fc authored by Paul Sajna's avatar Paul Sajna
Browse files

Merge branch 'semaphore' into platform

parents 608a6fcf 25b9ac20
No related branches found
No related tags found
1 merge request!14implement some unistd
...@@ -25,11 +25,13 @@ pub extern "C" fn sem_destroy(sem: *mut sem_t) -> c_int { ...@@ -25,11 +25,13 @@ pub extern "C" fn sem_destroy(sem: *mut sem_t) -> c_int {
unimplemented!(); unimplemented!();
} }
#[no_mangle] /*
pub extern "C" fn sem_open(name: *const c_char, *#[no_mangle]
oflag: c_int, ...) -> *mut sem_t { *pub extern "C" fn sem_open(name: *const c_char,
unimplemented!(); * oflag: c_int, ...) -> *mut sem_t {
} * unimplemented!();
*}
*/
#[no_mangle] #[no_mangle]
pub extern "C" fn sem_close(sem: *mut sem_t) -> c_int { pub extern "C" fn sem_close(sem: *mut sem_t) -> c_int {
...@@ -47,12 +49,6 @@ pub extern "C" fn sem_wait(sem: *mut sem_t) -> c_int { ...@@ -47,12 +49,6 @@ pub extern "C" fn sem_wait(sem: *mut sem_t) -> c_int {
unimplemented!(); unimplemented!();
} }
#[no_mangle]
pub extern "C" fn sem_timedwait(sem: *mut sem_t, abstime: *const timespec)
-> c_int {
unimplemented!();
}
#[no_mangle] #[no_mangle]
pub extern "C" fn sem_trywait(sem: *mut sem_t) -> c_int { pub extern "C" fn sem_trywait(sem: *mut sem_t) -> c_int {
unimplemented!(); unimplemented!();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment