Files
semi-libc/include
Rich Felker d49cf07541 add gettid function
this is a prerequisite for addition of other interfaces that use
kernel tids, including futex and SIGEV_THREAD_ID.

there is some ambiguity as to whether the semantic return type should
be int or pid_t. either way, futex API imposes a contract that the
values fit in int (excluding some upper reserved bits). glibc used
pid_t, so in the interest of not having gratuitous mismatch (the
underlying types are the same anyway), pid_t is used here as well.

while conceptually this is a syscall, the copy stored in the thread
structure is always valid in all contexts where it's valid to call
libc functions, so it's used to avoid the syscall.
2020-08-17 20:12:53 -04:00
..
2013-07-03 18:07:50 +02:00
2012-05-06 16:35:32 -04:00
2016-08-30 16:39:54 -04:00
2011-02-12 00:22:29 -05:00
2012-09-08 18:16:33 -04:00
2011-02-12 00:22:29 -05:00
2014-06-21 19:24:15 -04:00
2011-02-14 21:59:38 -05:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2020-02-26 10:09:32 -05:00
2011-02-12 00:22:29 -05:00
2019-08-30 16:21:36 -04:00
2019-08-08 11:33:18 -04:00
2018-06-26 16:59:12 -04:00
2014-07-31 02:38:23 -04:00
2011-04-05 15:40:36 -04:00
2019-03-13 10:42:57 -04:00
2011-02-12 00:22:29 -05:00
2020-08-17 20:12:53 -04:00
2013-01-04 20:36:34 +01:00