mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-19 12:36:46 +00:00
Add ThreadExt
and clean up PosixThreadExt
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
a4a8807a20
commit
9233d1cdbb
@ -348,7 +348,7 @@ macro_rules! log_syscall_entry {
|
||||
let pid = $crate::current!().pid();
|
||||
let tid = {
|
||||
use $crate::process::posix_thread::PosixThreadExt;
|
||||
$crate::current_thread!().tid()
|
||||
$crate::current_thread!().as_posix_thread().unwrap().tid()
|
||||
};
|
||||
log::info!(
|
||||
"[pid={}][tid={}][id={}][{}]",
|
||||
|
Reference in New Issue
Block a user