Thread fine-tuning

This commit is contained in:
2020-05-04 18:37:41 +02:00
parent a8eacb3587
commit 6f766746d6
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -73,7 +73,6 @@ void UdpRecvModule::receive_thread(const uint16_t udp_port)
if (!udp_receiver.receive(
&packet_buffer,
JUNGFRAU_BYTES_PER_PACKET)) {
this_thread::yield();
continue;
}
@@ -104,6 +103,7 @@ void UdpRecvModule::receive_thread(const uint16_t udp_port)
{
queue_.commit();
reserve_next_frame_buffers(frame_metadata, frame_buffer);
this_thread::yield();
}
}