mirror of
https://github.com/drasko/codezero.git
synced 2026-07-29 10:30:06 +02:00
Added means to search for threads in other containers
Thread ids now contain their container ids in the top 2 nibbles. Threads on other containers can be addressed by changing those two nibbles. The addressing of inter-container threads are subject to capabilities.
This commit is contained in:
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
|
||||
/* Compare two pid strings. We use strings because we dont have atoi() */
|
||||
if (!strcmp(pidbuf, parent_of_all)) {
|
||||
printf("EXECVE TEST -- PASSED --\n");
|
||||
printf("\nThread (%d): Continues to sync with the pager...\n\n", getpid());
|
||||
printf("\nThread (%x): Continues to sync with the pager...\n\n", getpid());
|
||||
while (1)
|
||||
wait_pager(pagerid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user