Skip to content

Commit 5cec6c2

Browse files
Add comment on origin to test
1 parent 19a5229 commit 5cec6c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/incremental/11-restart/12-mutex-simple-access.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Same as 13-restart-write/01-mutex-simple
12
#include <pthread.h>
23
#include <stdio.h>
34

tests/incremental/11-restart/12-mutex-simple-access.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- tests/incremental/11-restart/12-mutex-simple-access.c
22
+++ tests/incremental/11-restart/12-mutex-simple-access.c
3-
@@ -7,7 +7,7 @@ pthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;
3+
@@ -8,7 +8,7 @@ pthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;
44

55
void *t_fun(void *arg) {
66
pthread_mutex_lock(&mutex1);
@@ -9,7 +9,7 @@
99
pthread_mutex_unlock(&mutex1);
1010
return NULL;
1111
}
12-
@@ -15,9 +15,9 @@ void *t_fun(void *arg) {
12+
@@ -16,9 +16,9 @@ void *t_fun(void *arg) {
1313
int main(void) {
1414
pthread_t id;
1515
pthread_create(&id, NULL, t_fun, NULL);

0 commit comments

Comments
 (0)