This commit is contained in:
Vítor Santos Costa 2015-10-09 19:06:07 +01:00
parent a66f5f0531
commit 9595bb4e6e
1 changed files with 0 additions and 13 deletions

View File

@ -2786,19 +2786,6 @@ X_API int PL_thread_self(void)
#endif
}
#if THREADS
static int
alertThread(int tid)
{
#if _WIN32
return pthread_kill(REMOTE_ThreadHandle(tid).pthread_handle, YAP_WINTIMER_SIGNAL) == 0;
#else
return pthread_kill(REMOTE_ThreadHandle(tid).pthread_handle, YAP_ALARM_SIGNAL) == 0;
#endif
}
#endif
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PL_thread_raise() is used for re-routing interrupts in the Windows
version, where the signal handler is running from a different thread as