Jeremy Soller 6 роки тому
батько
коміт
e93ead5a8f
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      src/platform/redox/pte.rs

+ 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 mutex = Box::into_raw(Box::new(0));
-    pte_osMutexLock(mutex);
 
     if id == 0 {
         // Wait until pte_osThreadStart