summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/tst-robust11.c
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2023-04-18 11:02:09 -0400
committerCarlos O'Donell <carlos@redhat.com>2023-05-10 13:15:13 -0400
commitf0dbe112f532be2101bb392f67f9f164cade25b0 (patch)
tree2d60e4088feba9b40e1121658fb0432633dd0552 /sysdeps/pthread/tst-robust11.c
parent1270549a267eb4c8b8dda7fd9a91d7f14968d58f (diff)
downloadglibc-f0dbe112f532be2101bb392f67f9f164cade25b0.tar.gz
nptl: Reformat Makefile.
Reflow all long lines adding comment terminators. Sort all reflowed text using scripts/sort-makefile-lines.py. No code generation changes observed in binary artifacts. No regressions on x86_64 and i686. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps/pthread/tst-robust11.c')
-rw-r--r--sysdeps/pthread/tst-robust11.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/pthread/tst-robust11.c b/sysdeps/pthread/tst-robust11.c
new file mode 100644
index 0000000000..8221a61d29
--- /dev/null
+++ b/sysdeps/pthread/tst-robust11.c
@@ -0,0 +1,7 @@
+/* Bug 21778: Fix oversight in robust mutex lock acquisition. */
+#define TYPE PTHREAD_MUTEX_NORMAL
+#define ROBUST PTHREAD_MUTEX_ROBUST
+#define DELAY_NSEC 0
+#define ROUNDS 1000
+#define N 32
+#include "tst-mutex7.c"