add register fd and fix bug in mutex
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-23 01:08:00 +01:00
1 parent d66fb31c9a
commit e5eb05eb3d
7 files changed
+23 -6

No files matched your search

+1 -1
View File
@@ -32,6 +32,6 @@ pub async fn open(path: &str, flags: u32) -> Option<FDt> {
}
let fd = IsoFD::new();
FD_TABLE.lock().await.register_fd(fd.clone());
FD_TABLE.lock().await.register_fd(fd.clone()).await;
Some(fd)
}
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.