diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-02 15:17:02 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-08 11:27:55 +0100 |
commit | 1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92 (patch) | |
tree | a1979a3d4ef860e9f4565aab20cb2549b0a3303e /posix/Makefile | |
parent | f289e656ec8221756519a601042bc9fbe1b310fb (diff) | |
download | glibc-1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.zip glibc-1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.tar.gz glibc-1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.tar.bz2 |
Linux: Add gettid system call wrapper [BZ #6399]
This commit adds gettid to <unistd.h> on Linux, and not to the
kernel-independent GNU API.
gettid is now supportable on Linux because too many things assume a
1:1 mapping between libpthread threads and kernel threads.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'posix/Makefile')
-rw-r--r-- | posix/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile index 873947f..93c3a29 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -31,7 +31,8 @@ headers := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h \ bits/local_lim.h tar.h bits/utsname.h bits/confname.h \ bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h \ bits/sched.h bits/cpu-set.h re_comp.h wait.h bits/environments.h \ - cpio.h spawn.h bits/unistd.h bits/types/struct_sched_param.h + cpio.h spawn.h bits/unistd.h bits/types/struct_sched_param.h \ + bits/unistd_ext.h routines := \ uname \ |