Fix double lock in pte

parent 62b83190
Pipeline #2366 passed with stages
in 17 minutes and 32 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment