Fix Bug: Initialise the mmap table for the newly created thread rather than the current thread
This commit is contained in:
@@ -278,7 +278,7 @@ thread_create (const char *name, int priority,
|
||||
#endif
|
||||
|
||||
#ifdef VM
|
||||
mmap_init ();
|
||||
mmap_init (t);
|
||||
#endif
|
||||
|
||||
/* Prepare thread for first run by initializing its stack.
|
||||
|
||||
Reference in New Issue
Block a user