Skip to content

Commit

Permalink
Rename read_request
Browse files Browse the repository at this point in the history
  • Loading branch information
aljen committed Oct 18, 2024
1 parent 5ee3dbc commit cef7299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rinit/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fn set_nonblocking(fd: std::os::fd::RawFd) -> std::io::Result<()> {
fcntl(fd, FcntlArg::F_SETFL(new_flags))?;
Ok(())
}
async fn read_request(
async fn read_and_handle_request(
async_cmds_fd: Arc<Mutex<Async<FdWrapper>>>,
async_sig_fd: Arc<Mutex<Async<FdWrapper>>>,
processes: Arc<Mutex<Vec<ProcessDesc>>>,
Expand Down Expand Up @@ -223,7 +223,7 @@ async fn main_loop(
processes: Arc<Mutex<Vec<ProcessDesc>>>,
) -> std::io::Result<()> {
loop {
let result = read_request(
let result = read_and_handle_request(
async_cmds_fd.clone(),
async_sig_fd.clone(),
processes.clone(),
Expand Down

0 comments on commit cef7299

Please sign in to comment.