From b0db7fbeefff4abeb49e8c14295eba2178e09159 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Feb 2003 06:33:08 +0000 Subject: Update. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove _POSIX_THREAD_PRIORITY_SCHEDULING. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove _XOPEN_REALTIME_THREADS. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The kernel returns EINVAL for PID <= 0, work around it. --- nptl/ChangeLog | 9 +++++++++ nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h | 3 --- nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h | 8 +------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index eb819f63b8..3204cc7540 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,14 @@ 2003-02-17 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove + _POSIX_THREAD_PRIORITY_SCHEDULING. + * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove + _XOPEN_REALTIME_THREADS. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. + + * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The + kernel returns EINVAL for PID <= 0, work around it. + * Makefile (tests): Add tst-signal5. * tst-signal5.c: New file. diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h index 32298f8744..c1cc5bd27b 100644 --- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -60,9 +60,6 @@ /* X/Open realtime support is available. */ #define _XOPEN_REALTIME 1 -/* X/Open realtime thread support is available. */ -#define _XOPEN_REALTIME_THREADS 1 - /* XPG4.2 shared memory is supported. */ #define _XOPEN_SHM 1 diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h index 999bca46f0..4a750b8f6f 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h @@ -1,5 +1,5 @@ /* Define POSIX options for Linux. - Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -60,9 +60,6 @@ /* X/Open realtime support is available. */ #define _XOPEN_REALTIME 1 -/* X/Open realtime thread support is available. */ -#define _XOPEN_REALTIME_THREADS 1 - /* XPG4.2 shared memory is supported. */ #define _XOPEN_SHM 1 @@ -73,9 +70,6 @@ #define _POSIX_REENTRANT_FUNCTIONS 1 #define _POSIX_THREAD_SAFE_FUNCTIONS 200112L -/* We provide priority scheduling for threads. */ -#define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L - /* We support user-defined stack sizes. */ #define _POSIX_THREAD_ATTR_STACKSIZE 200112L -- cgit v1.2.3