aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2016-01-15 23:16:49 +0100
committerTorvald Riegel <triegel@redhat.com>2016-01-15 23:16:49 +0100
commit019bf21ca710faaf3fd365c8bb61e1607610057d (patch)
treea3370db95369f2e42d22aeccb30e53483af61351 /nptl
parent12c3bb770dd3ea11215baf23b385dbf297a2a85c (diff)
downloadglibc-019bf21ca710faaf3fd365c8bb61e1607610057d.zip
glibc-019bf21ca710faaf3fd365c8bb61e1607610057d.tar.gz
glibc-019bf21ca710faaf3fd365c8bb61e1607610057d.tar.bz2
nptl: Add first-line description for barrier tests.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-barrier1.c3
-rw-r--r--nptl/tst-barrier2.c3
-rw-r--r--nptl/tst-barrier3.c5
-rw-r--r--nptl/tst-barrier4.c4
-rw-r--r--nptl/tst-barrier5.c4
5 files changed, 10 insertions, 9 deletions
diff --git a/nptl/tst-barrier1.c b/nptl/tst-barrier1.c
index 08787fb..d5016c4 100644
--- a/nptl/tst-barrier1.c
+++ b/nptl/tst-barrier1.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Tests barrier initialization.
+ Copyright (C) 2002-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/nptl/tst-barrier2.c b/nptl/tst-barrier2.c
index d793722..cc82fbf 100644
--- a/nptl/tst-barrier2.c
+++ b/nptl/tst-barrier2.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Tests process-shared barriers.
+ Copyright (C) 2002-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/nptl/tst-barrier3.c b/nptl/tst-barrier3.c
index 1b9295d..7abfa51 100644
--- a/nptl/tst-barrier3.c
+++ b/nptl/tst-barrier3.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Test of POSIX barriers.
+ Copyright (C) 2002-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -16,8 +17,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-/* Test of POSIX barriers. */
-
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/nptl/tst-barrier4.c b/nptl/tst-barrier4.c
index d3d3209..81dbf84 100644
--- a/nptl/tst-barrier4.c
+++ b/nptl/tst-barrier4.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2004-2016 Free Software Foundation, Inc.
+/* This tests destruction of a barrier right after waiting on it.
+ Copyright (C) 2004-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
@@ -16,7 +17,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-/* This tests destruction of a barrier right after waiting on it. */
#include <errno.h>
#include <pthread.h>
#include <stdio.h>
diff --git a/nptl/tst-barrier5.c b/nptl/tst-barrier5.c
index b99bd00..d665681 100644
--- a/nptl/tst-barrier5.c
+++ b/nptl/tst-barrier5.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2004-2015 Free Software Foundation, Inc.
+/* This tests the barrier reset mechanism.
+ Copyright (C) 2004-2015 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
@@ -15,7 +16,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-/* This tests the barrier reset mechanism. */
#include <errno.h>
#include <pthread.h>
#include <stdio.h>