added direct access to thread specific ds

This commit is contained in:
Jeff Hill
2002-10-25 01:06:33 +00:00
parent 2c78fef14d
commit 2daf173aeb

View File

@@ -469,10 +469,9 @@ epicsThreadId epicsThreadGetIdSelf(void) {
return(pthreadInfo);
}
pthread_t epicsThreadGetPosixThreadIdSelf ( epicsThreadPrivateId threadId )
pthread_t epicsThreadGetPosixThreadIdSelf ( epicsThreadId threadId )
{
struct epicsThreadOSD * pThreadInfo = threadId;
return pThreadInfo->tid;
return threadId->tid;
}
epicsThreadId epicsThreadGetId(const char *name) {