lp:~khkim/epics-base/parallel-callbacks
Created by
Kim, Kukhee
and last modified
1. Make parallel callback task to take the advantage of SMP system.
2. Added new command to set up the number of thread for the each callback.
The default is n=1, if you need n>1 then you can use the new command.
Remarks) The multiple callback tasks consume the callback requests concurrently.
We could sure the order of starting time for the requests, but we could not sure the order of finishing time due to the concurrent processing.
3. Put mutex for the ring buffer pop to avoid thread safety issue.
4. Now, there is interrupt blocking code on the ring buffer push, we could not use mutex due to this code could be run on the interrupt handler. We need to think more for SMP. Maybe, spin lock?
- Get this branch:
- bzr branch lp:~khkim/epics-base/parallel-callbacks
Only
Kim, Kukhee
can upload to this branch. If you are
Kim, Kukhee
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Branch information
Recent revisions
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~epics-core/epics-base/3.15