RTEMS epicsThreadOnce() uses epicsMutex API
Bug #1542539 reported by
Andrew Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Low
|
mdavidsaver |
Bug Description
The RTEMS implementation of epicsThreadOnce() uses an epicsMutex in its implementation. None of the other implementations do so, they all use native primitives internally. I would like to replace the
static int firstTime = 1;
variable in the libCom/
epicsThread
The patch I want to apply is attached, but it could only be committed after this bug has been fixed.
Changed in epics-base: | |
status: | Triaged → Fix Committed |
Changed in epics-base: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I suspect you're right about the loop. And in any event, I agree that use of epicsMutex is inappropriate here.