mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-25 05:50:45 +02:00
Yield this thread when finished writing
This commit is contained in:
@@ -177,5 +177,7 @@ int main (int argc, char *argv[]) {
|
||||
n_frames_with_missing_packets = 0;
|
||||
n_missed_frames = 0;
|
||||
}
|
||||
|
||||
this_thread::yield();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user