diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-01-22 10:42:58 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-01-22 10:42:58 -0500 |
| commit | 4d0d26bfef684566a371ca7c87ba84df52f25ccc (patch) | |
| tree | f69984d6bfa0b79f29e00716219b34025350d41d /include/framework/structure/BufferView.h | |
| parent | 97ddc19c2f57d54df2fe791ddedcbaf62fd1922e (diff) | |
| download | dynamic-extension-4d0d26bfef684566a371ca7c87ba84df52f25ccc.tar.gz | |
FIFOScheduler: added automake wakeup
Sometimes, when the max thread count is exceeded, it is possible for
the scheduler to lock up. This is because the scheduler is only run when
a new job is put into the queue, and so it is possible for a job to be
blocked by thread limitations and be left sitting in the queue. If the
main program is waiting on this job to finish before scheduling a new one,
then the system deadlocks.
I added a second background thread to the scheduler that wakes the
scheduler up every 20us to resolve this and prevent these deadlocks.
Diffstat (limited to 'include/framework/structure/BufferView.h')
0 files changed, 0 insertions, 0 deletions