aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-barrier2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-04 20:51:25 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-04 20:51:25 +0000
commite4bb48539fa1012f4ec102d8a3b12e846a832ff5 (patch)
treecb3253bca5732755b5f68dd9fc47417d1c1edda6 /nptl/tst-barrier2.c
parent94d824f920209243c72eb4a6fedbb5a039be2af3 (diff)
downloadglibc-e4bb48539fa1012f4ec102d8a3b12e846a832ff5.zip
glibc-e4bb48539fa1012f4ec102d8a3b12e846a832ff5.tar.gz
glibc-e4bb48539fa1012f4ec102d8a3b12e846a832ff5.tar.bz2
Update.
2004-10-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to zero. * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise. * tst-barrier2.c: Fix testing for POSIX feature. * tst-clock1.c: Likewise. * tst-clock2.c: Likewise. * tst-cond11.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-flock2.c: Likewise. * tst-mutex4.c: Likewise. * tst-mutex9.c: Likewise. * tst-rwlock12.c: Likewise. * tst-rwlock4.c: Likewise. * tst-signal1.c: Likewise. * tst-spin2.c: Likewise. * sysdeps/pthread/posix-timer.h: Likewise. * sysdeps/pthread/timer_create.c: Likewise. * sysdeps/pthread/timer_routines.c: Likewise.
Diffstat (limited to 'nptl/tst-barrier2.c')
-rw-r--r--nptl/tst-barrier2.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/nptl/tst-barrier2.c b/nptl/tst-barrier2.c
index b147ae1..7f58869 100644
--- a/nptl/tst-barrier2.c
+++ b/nptl/tst-barrier2.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -31,12 +31,6 @@
static int
do_test (void)
{
-#if ! _POSIX_THREAD_PROCESS_SHARED
-
- puts ("_POSIX_THREAD_PROCESS_SHARED not supported, test skipped");
-
-#else
-
size_t ps = sysconf (_SC_PAGESIZE);
char tmpfname[] = "/tmp/tst-barrier2.XXXXXX";
char data[ps];
@@ -183,7 +177,6 @@ do_test (void)
WEXITSTATUS (status) + serials, N);
return 1;
}
-#endif
return 0;
}