fixed gnu compiler error
This commit is contained in:
1 parent
777c2c77be
commit
ea2d06560e
1 file changed
+3
-2
@@ -469,9 +469,10 @@ epicsThreadId epicsThreadGetIdSelf(void) {
|
||||
return(pthreadInfo);
|
||||
}
|
||||
|
||||
pthread_t epicsThreadGetPthreadIdSelf ( epicsThreadOSD * pthreadInfo )
|
||||
pthread_t epicsThreadGetPthreadIdSelf ( epicsThreadPrivateId threadId )
|
||||
{
|
||||
return ( pthreadInfo->tid );
|
||||
struct epicsThreadOSD * pThreadInfo = threadId;
|
||||
return pThreadInfo->tid;
|
||||
}
|
||||
|
||||
epicsThreadId epicsThreadGetId(const char *name) {
|
||||
|
||||
Reference in new issue
Block a user