Remove PTE prints

This commit is contained in:
Jeremy Soller
2022-08-30 08:49:55 -06:00
parent 0250ea022f
commit 6a9f8b204b
-3
View File
@@ -236,14 +236,12 @@ pub unsafe extern "C" fn pte_osThreadWaitForEnd(handle: pte_osThreadHandle) -> p
#[no_mangle]
pub unsafe extern "C" fn pte_osThreadCancel(handle: pte_osThreadHandle) -> pte_osResult {
println!("pte_osThreadCancel {:#x}", handle);
//TODO: allow cancel of thread
PTE_OS_OK
}
#[no_mangle]
pub unsafe extern "C" fn pte_osThreadCheckCancel(handle: pte_osThreadHandle) -> pte_osResult {
println!("pte_osThreadCheckCancel {:#x}", handle);
//TODO: thread cancel
PTE_OS_OK
}
@@ -365,7 +363,6 @@ pub unsafe extern "C" fn pte_osSemaphoreCancellablePend(
handle: pte_osSemaphoreHandle,
pTimeout: *mut c_uint,
) -> pte_osResult {
println!("pte_osSemaphoreCancellablePend {:p} {:p}", handle, pTimeout);
//TODO: thread cancel
pte_osSemaphorePend(handle, pTimeout)
}