changed function name
This commit is contained in:
@@ -115,7 +115,7 @@ epicsShareFunc void epicsShareAPI epicsSignalRaiseSigUrg
|
||||
( struct epicsThreadOSD * threadId )
|
||||
{
|
||||
int status;
|
||||
status = pthread_kill ( SIGPIPE, epicsThreadGetPthreadIdSelf ( threadId ) );
|
||||
status = pthread_kill ( SIGPIPE, epicsThreadGetPosixThreadIdSelf ( threadId ) );
|
||||
if ( status ) {
|
||||
errlogPrintf ( "failed to send signal to another thread because %s\n",
|
||||
strerror ( errno ) );
|
||||
|
||||
@@ -469,7 +469,7 @@ epicsThreadId epicsThreadGetIdSelf(void) {
|
||||
return(pthreadInfo);
|
||||
}
|
||||
|
||||
pthread_t epicsThreadGetPthreadIdSelf ( epicsThreadPrivateId threadId )
|
||||
pthread_t epicsThreadGetPosixThreadIdSelf ( epicsThreadPrivateId threadId )
|
||||
{
|
||||
struct epicsThreadOSD * pThreadInfo = threadId;
|
||||
return pThreadInfo->tid;
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
pthread_t epicsThreadGetPthreadIdSelf ( epicsThreadPrivateId id );
|
||||
pthread_t epicsThreadGetPosixThreadIdSelf ( epicsThreadPrivateId id );
|
||||
|
||||
#endif /* osdThreadh */
|
||||
|
||||
Reference in New Issue
Block a user