better logging
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2023-01-04 21:51:40 +01:00
1 parent 1bb4074e2f
commit 13f5c9dc0e
1 file changed
+3 -3
+3 -3
View File
@@ -23,9 +23,9 @@ pub struct SyscallContext {
impl SyscallContext {
pub async fn run(&mut self) {
println!("Running async syscall runner");
println!("Running async syscall runner for {:?}", self.id);
self.dispatch().await;
println!("Syscall end, unblocking thread");
println!("Syscall {:?} end, unblocking thread", self.id);
SCHEDULER.lock().await.unblock(self.thread_id);
}
@@ -43,7 +43,7 @@ async fn syscall_runner(context: SyscallContextT) {
}
pub fn syscall_routine(syscall_id: SyscallId) -> u64 {
println!("Running syscall");
println!("Running syscall interrupt handler");
let context: SyscallContextT = Arc::new(RefCell::new(SyscallContext {
id: syscall_id,
res: 0,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.