• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/cups/thread.c b/cups/thread.c
2index 0e01cbf..7898312 100644
3--- a/cups/thread.c
4+++ b/cups/thread.c
5@@ -154,7 +154,7 @@ _cupsRWUnlock(_cups_rwlock_t *rwlock)	/* I - Reader/writer lock */
6 void
7 _cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */
8 {
9-  pthread_cancel(thread);
10+  pthread_kill(thread, 10);
11 }
12
13