Comment 1 for bug 1052459

Revision history for this message
Ralph Lange (ralph-lange) wrote :

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.