mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 19:33:15 +01:00
Added thread group identification to c0 and libl4
tgid will be used when threads will be created in same address space.
This commit is contained in:
@@ -175,6 +175,12 @@ out:
|
||||
if ((ids->spid = id_get(space_id_pool,
|
||||
ids->spid)) < 0)
|
||||
ids->spid = id_new(space_id_pool);
|
||||
|
||||
/* It also gets a thread group id */
|
||||
if ((ids->tgid = id_get(tgroup_id_pool,
|
||||
ids->tgid)) < 0)
|
||||
ids->tgid = id_new(tgroup_id_pool);
|
||||
|
||||
}
|
||||
|
||||
/* Set all ids */
|
||||
|
||||
Reference in New Issue
Block a user