mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 12:23:15 +01:00
Tests working up to neverending suspend - Will be fixed.
This commit is contained in:
@@ -349,8 +349,8 @@ int thread_create(struct task_ids *ids, unsigned int flags)
|
||||
flags &= THREAD_CREATE_MASK;
|
||||
|
||||
/* Can't have multiple space directives in flags */
|
||||
if ((flags & TC_SHARE_SPACE & TC_COPY_SPACE & TC_NEW_SPACE)
|
||||
|| !flags)
|
||||
if ((flags & TC_SHARE_SPACE
|
||||
& TC_COPY_SPACE & TC_NEW_SPACE) || !flags)
|
||||
return -EINVAL;
|
||||
|
||||
/* Can't request shared utcb or tgid without shared space */
|
||||
|
||||
Reference in New Issue
Block a user