mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 08:26:30 +00:00
Rename (Posix)ThreadExt
to As(Posix)Thread
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
9233d1cdbb
commit
e6c613f538
@ -8,7 +8,7 @@ use super::SyscallReturn;
|
||||
use crate::{
|
||||
prelude::*,
|
||||
process::{
|
||||
posix_thread::{thread_table, PosixThreadExt},
|
||||
posix_thread::{thread_table, AsPosixThread},
|
||||
process_table,
|
||||
},
|
||||
time::{
|
||||
|
@ -347,7 +347,7 @@ macro_rules! log_syscall_entry {
|
||||
let syscall_name_str = stringify!($syscall_name);
|
||||
let pid = $crate::current!().pid();
|
||||
let tid = {
|
||||
use $crate::process::posix_thread::PosixThreadExt;
|
||||
use $crate::process::posix_thread::AsPosixThread;
|
||||
$crate::current_thread!().as_posix_thread().unwrap().tid()
|
||||
};
|
||||
log::info!(
|
||||
|
@ -5,7 +5,7 @@ use core::sync::atomic::Ordering;
|
||||
use super::SyscallReturn;
|
||||
use crate::{
|
||||
prelude::*,
|
||||
process::{posix_thread::PosixThreadExt, process_table, Pgid, Pid, Process, Uid},
|
||||
process::{posix_thread::AsPosixThread, process_table, Pgid, Pid, Process, Uid},
|
||||
sched::priority::{Nice, NiceRange},
|
||||
};
|
||||
|
||||
|
@ -7,7 +7,7 @@ use super::{
|
||||
use crate::{
|
||||
prelude::*,
|
||||
process::{
|
||||
posix_thread::{thread_table, PosixThreadExt},
|
||||
posix_thread::{thread_table, AsPosixThread},
|
||||
process_table,
|
||||
signal::{
|
||||
c_types::{sigevent_t, SigNotify},
|
||||
|
Reference in New Issue
Block a user