2
0
Jeremy Soller 6 жил өмнө
parent
commit
e93ead5a8f

+ 0 - 1
src/platform/redox/pte.rs

@@ -63,7 +63,6 @@ pub unsafe extern "C" fn pte_osThreadCreate(entryPoint: pte_osThreadEntryPoint,
     let id = syscall::clone(syscall::CLONE_VM | syscall::CLONE_FS | syscall::CLONE_FILES).unwrap();
     let id = syscall::clone(syscall::CLONE_VM | syscall::CLONE_FS | syscall::CLONE_FILES).unwrap();
 
 
     let mutex = Box::into_raw(Box::new(0));
     let mutex = Box::into_raw(Box::new(0));
-    pte_osMutexLock(mutex);
 
 
     if id == 0 {
     if id == 0 {
         // Wait until pte_osThreadStart
         // Wait until pte_osThreadStart