1 #include <stdio.h> 2 #define PRINTMSGCYG 3 4 extern int option_debug; 5 int cyg_no_pthreadkill(int thread, int sig); 6 cyg_no_pthreadkill(int thread,int sig)7int cyg_no_pthreadkill(int thread, int sig) 8 { 9 #ifdef PRINTMSGCYG 10 if (option_debug) { 11 printf 12 ("\n\nHere there would have been a pthread_kill() on thread [%-7lx], with sig=%d, but it has been substituted by this printf in file cyg_no_pthread_kill.c because CYGWIN does not support sending a signal to a one only thread :-(\n\n", 13 (unsigned long int) thread, sig); 14 } 15 #endif // PRINTMSGCYG 16 return 0; 17 } 18