Skip to content

Commit

Permalink
Merge pull request #52 from hangpark/iss/10
Browse files Browse the repository at this point in the history
[#10] Implement wait system call
  • Loading branch information
hangpark authored Apr 12, 2017
2 parents c23992b + a713ee3 commit 8dd60b5
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 8dd60b5

Please sign in to comment.