7 static pthread_mutexattr_t a
;
14 if (pthread_mutexattr_init (&a
) != 0)
16 puts ("mutexattr_init failed");
20 if (pthread_mutexattr_setprotocol (&a
, PTHREAD_PRIO_PROTECT
) != 0)
22 puts ("mutexattr_setprotocol failed");
26 if (pthread_mutexattr_setprioceiling (&a
, 6) != 0)
28 puts ("mutexattr_setprioceiling failed");
32 #define PREPARE(argc, argv) prepare ()
34 static int do_test (void);
37 do_test_wrapper (void)
42 #define TEST_FUNCTION do_test_wrapper ()
45 #include "tst-mutex6.c"