Change 'tid' to 'PID' in init.c
I think tasks can be considered programs now. So, gettid() is equal to getpid(). In fact, it should be renamed. And moved to unistd.h. Soon.
This commit is contained in:
parent
a2c05de604
commit
1e96a45f33
@ -67,7 +67,7 @@ int main()
|
|||||||
|
|
||||||
printf("Welcome to Luna!\n");
|
printf("Welcome to Luna!\n");
|
||||||
|
|
||||||
printf("Running as tid %ld\n\n", gettid());
|
printf("Running as PID %ld\n\n", gettid());
|
||||||
|
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user