mirror of
https://github.com/drasko/codezero.git
synced 2026-03-03 02:53:15 +01:00
clone() call working. Tested exit(), clone() and fork() mixture running about 22 threads, processes.
This commit is contained in:
@@ -126,6 +126,10 @@ void handle_requests(void)
|
||||
ret = sys_fork(sender);
|
||||
break;
|
||||
}
|
||||
case L4_IPC_TAG_CLONE: {
|
||||
ret = sys_clone(sender, (void *)mr[0], (unsigned int)mr[1]);
|
||||
break;
|
||||
}
|
||||
case L4_IPC_TAG_EXIT: {
|
||||
/* An exiting task has no receive phase */
|
||||
sys_exit(sender, (int)mr[0]);
|
||||
|
||||
Reference in New Issue
Block a user