Update pthreads-emb
This commit is contained in:
+1
-1
Submodule pthreads-emb updated: 6720dfdc95...4b87ab0dcd
@@ -44,13 +44,6 @@ unsafe fn copy_string_array(array: *const *const c_char, len: usize) -> Vec<*mut
|
||||
vec
|
||||
}
|
||||
|
||||
// In the case that pthread is not linked, pthread_init can be replaced
|
||||
#[linkage = "weak"]
|
||||
#[no_mangle]
|
||||
extern "C" fn pthread_init() -> c_int {
|
||||
0
|
||||
}
|
||||
|
||||
#[inline(never)]
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn relibc_start(sp: &'static Stack) -> ! {
|
||||
@@ -85,9 +78,6 @@ pub unsafe extern "C" fn relibc_start(sp: &'static Stack) -> ! {
|
||||
stdio::stdout = stdio::default_stdout.get();
|
||||
stdio::stderr = stdio::default_stderr.get();
|
||||
|
||||
// Initialize pthreads
|
||||
pthread_init();
|
||||
|
||||
// Call init section
|
||||
_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user