We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a35f2 commit f402d79Copy full SHA for f402d79
conformance/interfaces/pthread_rwlock_unlock/3-1.c
@@ -197,6 +197,11 @@ int main()
197
pthread_t writer1, reader, writer2;
198
int priority;
199
200
+#ifdef __EMSCRIPTEN__
201
+ printf("Test SKIPPED: musl/Emscripten does not support thread priorities, so cannot test rwlocking in priority order.\n");
202
+ exit(0);
203
+#endif
204
+
205
/* main thread needs to have the highest priority*/
206
priority = sched_get_priority_min(TRD_POLICY) + 3;
207
set_priority(pthread_self(), TRD_POLICY, priority);
0 commit comments