Skip to content

Commit

Permalink
[#10] Implement wait system call
Browse files Browse the repository at this point in the history
  • Loading branch information
hangpark committed Apr 12, 2017
1 parent c23992b commit a713ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/userprog/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,11 @@ syscall_exec (const char *cmd_line)
return p->pid;
}

/* Waits for a child process pid and retrieves the child's exit status. */
static int
syscall_wait (pid_t pid)
{
return 0;
return process_wait (pid);
}

static bool
Expand Down

0 comments on commit a713ee3

Please sign in to comment.