c5a27fa32e
An epicsThreadOnceId is now an epicsThreadId. During initialization, it is set to the thread running the init routine which can now detect a recursive initialization attempt and suspend. EPICS_THREAD_ONCE_INIT is still zero, the implementations now define a new private value for EPICS_THREAD_ONCE_DONE. This is deliberately not made public.