Skip to content

Commit

Permalink
2 params typo
Browse files Browse the repository at this point in the history
  • Loading branch information
remzi-arpacidusseau committed Apr 6, 2018
1 parent fe22270 commit 62bd769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concurrency-xv6-threads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ space if this is last reference to it. Also, `exit()` should work as before
but for both processes and threads; little change is required here.

Your thread library will be built on top of this, and just have a simple
`thread_create(void (*start_routine)(void*), void *arg1, void *arg2)`
`thread_create(void (*start_routine)(void *, void *), void *arg1, void *arg2)`
routine. This routine should call `malloc()` to create a new user stack, use
`clone()` to create the child thread and get it running. A `thread_join()`
call should also be created, which calls the underlying `join()` system call,
Expand Down

0 comments on commit 62bd769

Please sign in to comment.