Added TODO regarding updating the image ID's after fork().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27604 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1986,5 +1986,10 @@ elf_reinit_after_fork()
|
|||||||
if (rld_sem < 0)
|
if (rld_sem < 0)
|
||||||
return rld_sem;
|
return rld_sem;
|
||||||
|
|
||||||
|
// TODO: We should also update the IDs of our images. We are the child and
|
||||||
|
// and have cloned images with different IDs. Since in most cases (fork()
|
||||||
|
// + exec*()) this would just increase the fork() overhead with no one
|
||||||
|
// caring, we could do that lazily, when first doing something different.
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user