summaryrefslogtreecommitdiff
path: root/benchmarks/libmicro/files/patch-cascade__mutex.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-27 15:09:11 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-27 15:09:11 +0000
commit56bf85096cc89f91d28671b5d93b4172240263bc (patch)
tree0574ce9eee45d627f943b80b2445882a762b52af /benchmarks/libmicro/files/patch-cascade__mutex.c
parentAdd new port -- Rounded Mgen+ Japanese TrueType fonts (diff)
Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to '')
-rw-r--r--benchmarks/libmicro/files/patch-cascade__mutex.c (renamed from benchmarks/libmicro/files/patch-cascade_mutex.c)12
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmarks/libmicro/files/patch-cascade_mutex.c b/benchmarks/libmicro/files/patch-cascade__mutex.c
index a76c97822fdd..f4867a3328bd 100644
--- a/benchmarks/libmicro/files/patch-cascade_mutex.c
+++ b/benchmarks/libmicro/files/patch-cascade__mutex.c
@@ -1,6 +1,6 @@
---- cascade_mutex.c.orig Sat Aug 6 14:10:03 2005
-+++ cascade_mutex.c Sat Aug 6 14:11:53 2005
-@@ -83,7 +83,6 @@
+--- cascade_mutex.c.orig 2011-05-11 00:58:23 UTC
++++ cascade_mutex.c
+@@ -79,7 +79,6 @@ benchmark_init()
lm_defN = "cscd_mutex";
(void) sprintf(lm_usage,
@@ -8,7 +8,7 @@
"notes: thread cascade using pthread_mutexes\n");
return (0);
-@@ -94,9 +93,6 @@
+@@ -90,9 +89,6 @@ int
benchmark_optswitch(int opt, char *optarg)
{
switch (opt) {
@@ -18,7 +18,7 @@
default:
return (-1);
}
-@@ -123,6 +119,7 @@
+@@ -119,6 +115,7 @@ benchmark_initrun()
}
(void) pthread_mutexattr_init(&ma);
@@ -26,7 +26,7 @@
if (lm_optP > 1 || opts) {
(void) pthread_mutexattr_setpshared(&ma,
PTHREAD_PROCESS_SHARED);
-@@ -130,6 +127,7 @@
+@@ -126,6 +123,7 @@ benchmark_initrun()
(void) pthread_mutexattr_setpshared(&ma,
PTHREAD_PROCESS_PRIVATE);
}