Skip to content

Commit 7f9ec9a

Browse files
committed
Fix pthread-lock-return test on OSX
1 parent 138a482 commit 7f9ec9a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/regression/04-mutex/58-pthread-lock-return.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void *t_fun(void *arg) {
7070

7171
#ifndef __APPLE__
7272
if (!pthread_spin_lock(&spin)) {
73-
__goblint_check(1); // reachable
73+
__goblint_check(1); // TODO reachable (TODO for OSX)
7474
g_spin++; // NORACE
7575
pthread_spin_unlock(&spin);
7676
}
@@ -79,12 +79,12 @@ void *t_fun(void *arg) {
7979
}
8080

8181
if (!pthread_spin_trylock(&spin)) {
82-
__goblint_check(1); // reachable
82+
__goblint_check(1); // TODO reachable (TODO for OSX)
8383
g_spin++; // NORACE
8484
pthread_spin_unlock(&spin);
8585
}
8686
else {
87-
__goblint_check(1); // reachable
87+
__goblint_check(1); // TODO reachable (TODO for OSX)
8888
}
8989
#endif
9090

0 commit comments

Comments
 (0)