aboutsummaryrefslogtreecommitdiff
path: root/pthreads/tests/mutex1e.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthreads/tests/mutex1e.c')
-rw-r--r--pthreads/tests/mutex1e.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pthreads/tests/mutex1e.c b/pthreads/tests/mutex1e.c
index e52810728..d32adb3a1 100644
--- a/pthreads/tests/mutex1e.c
+++ b/pthreads/tests/mutex1e.c
@@ -54,6 +54,8 @@ main()
{
assert(pthread_mutexattr_init(&mxAttr) == 0);
+ BEGIN_MUTEX_STALLED_ROBUST(mxAttr)
+
assert(pthread_mutexattr_settype(&mxAttr, PTHREAD_MUTEX_ERRORCHECK) == 0);
assert(mutex == NULL);
@@ -70,5 +72,7 @@ main()
assert(mutex == NULL);
+ END_MUTEX_STALLED_ROBUST(mxAttr)
+
return 0;
}