Code review comment for lp:~ralph-lange/epics-base/thread-hooks

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

> /* As we're only ever inserting hooks at the head of the list, forward traversing is safe */
> pHook = (epicsThreadHook *) ellFirst(list);

It can be unlocked to traverse, but the mutex should be locked when fetching the head pointer.

« Back to merge proposal