Преглед на файлове

missed detail in cancellation bloat fix

Rich Felker преди 13 години
родител
ревизия
56385dd5fe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/thread/pthread_create.c

+ 1 - 1
src/thread/pthread_create.c

@@ -131,5 +131,5 @@ void pthread_exit(void *result)
 	struct pthread *self = pthread_self();
 	struct __ptcb cb = { .__next = self->cancelbuf };
 	self->result = result;
-	__pthread_unwind_next(&cb);
+	__pthread_do_unwind(&cb);
 }