You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
356 B

diff -uNr pigz-2.4/yarn.c pigz-2.4.mod/yarn.c
--- pigz-2.4/yarn.c 2015-01-20 06:12:31.000000000 +0200
+++ pigz-2.4.mod/yarn.c 2019-09-23 22:45:59.981446648 +0300
@@ -374,7 +374,7 @@
{
int ret;
- if ((ret = pthread_cancel(off_course->id)) != 0)
+ if ((ret = pthread_kill(off_course->id, 0)) != 0)
fail(ret);
join(off_course);
}