Skip to content

Commit

Permalink
move all functions to realize system calls to the directory syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Jan 4, 2024
1 parent 0b999cc commit 4743473
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 431 deletions.
2 changes: 1 addition & 1 deletion src/fd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static OBJECT_MAP: pflock::PFLock<HashMap<FileDescriptor, Arc<dyn ObjectInterfac
RandomState,
>::with_hasher(RandomState::with_seeds(0, 0, 0, 0)));
/// Atomic counter to determine the next unused file descriptor
static FD_COUNTER: AtomicI32 = AtomicI32::new(3);
pub(crate) static FD_COUNTER: AtomicI32 = AtomicI32::new(3);

bitflags! {
/// Options for opening files
Expand Down
Loading

0 comments on commit 4743473

Please sign in to comment.