User code that works with threads might also be interested in validating a thread id before using (dereferencing) it. So maybe epicsThread should get a validator function:
epicsThreadId epicsThreadValidateId(const epicsThreadId id);
returns id if it is valid, else NULL.
User code that works with threads might also be interested in validating a thread id before using (dereferencing) it. So maybe epicsThread should get a validator function:
epicsThreadId epicsThreadVali dateId( const epicsThreadId id);
returns id if it is valid, else NULL.