fix arguments are reversed on pthread_kill()

This commit is contained in:
Jeff Hill
2002-11-01 21:07:30 +00:00
parent 5494603e75
commit c983a4887c

View File

@@ -100,7 +100,7 @@ epicsShareFunc void epicsShareAPI epicsSignalRaiseSigUrg
( struct epicsThreadOSD * threadId )
{
pthread_t id = epicsThreadGetPosixThreadId ( threadId );
int status = pthread_kill ( SIGURG, id );
int status = pthread_kill ( id, SIGURG );
if ( status ) {
errlogPrintf ( "Failed to send SIGURG signal to thread. Status = \"%s\"\n",
strerror ( status ) );