Added helper to extract raw thread id from fully qualified thread id

Currently, the tid returned from kernel contains container id as
well, which makes it sufficient to do inter-container syscalls without
any preparation.

The helpers added are for presentation purposes only. Container id
is deleted so that the raw thread id is available for printing or
similar.
This commit is contained in:
Bahadir Balban
2009-11-05 01:47:04 +02:00
parent d9520adb55
commit fd04e9d460
5 changed files with 24 additions and 3 deletions

View File

@@ -19,5 +19,7 @@ SECTIONS
.rodata1 : { *(.rodata1) }
. = ALIGN(4K);
.data : { *(.data) }
.got : { *(.got) }
.got.plt : { *(.got.plt) }
.bss : { *(.bss) }
}