> [...] The _main_ thread gets its epicsThreadOSD structure created and
> added to pthreadList inside the once() routine in od/posix/osdThread.c before
> epicsThreadHooksInit() is run. The Init() routine cannot call any other
> epicsThread... routines such as epicsThreadGetIdSelf() because once() hasn't
> finished yet.
I don't like all thread start hooks to inherit this limitation, so I implemented this using a second default hook, that is exclusively used for _main_.
So - if I did not miss anything - the list seems to be worked through, again.
> [...] The _main_ thread gets its epicsThreadOSD structure created and osdThread. c before sInit() is run. The Init() routine cannot call any other dSelf() because once() hasn't
> added to pthreadList inside the once() routine in od/posix/
> epicsThreadHook
> epicsThread... routines such as epicsThreadGetI
> finished yet.
I don't like all thread start hooks to inherit this limitation, so I implemented this using a second default hook, that is exclusively used for _main_.
So - if I did not miss anything - the list seems to be worked through, again.
~Ralph