From 62bd76918022cde3821b8fe73e056a4e2fef78be Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Fri, 6 Apr 2018 12:04:41 -0500 Subject: [PATCH] 2 params typo --- concurrency-xv6-threads/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concurrency-xv6-threads/README.md b/concurrency-xv6-threads/README.md index bd1296be4..10c2e050b 100644 --- a/concurrency-xv6-threads/README.md +++ b/concurrency-xv6-threads/README.md @@ -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,