summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx12
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx12')
-rw-r--r--testsuites/psxtests/psx12/task.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx12/task.c b/testsuites/psxtests/psx12/task.c
index c06263f81d..1b3867854e 100644
--- a/testsuites/psxtests/psx12/task.c
+++ b/testsuites/psxtests/psx12/task.c
@@ -30,6 +30,11 @@ void *Task_1(
void *argument
)
{
+ /*
+ * Detach ourselves so we don't wait for a join that won't happen.
+ */
+ pthread_detach( pthread_self() );
+
puts( "Task_1: exitting" );
pthread_exit( NULL );