diff --git a/neuralnetworks/1.2/utils/src/ExecutionBurstUtils.cpp b/neuralnetworks/1.2/utils/src/ExecutionBurstUtils.cpp index ca3a52c17b..1bdde1e71a 100644 --- a/neuralnetworks/1.2/utils/src/ExecutionBurstUtils.cpp +++ b/neuralnetworks/1.2/utils/src/ExecutionBurstUtils.cpp @@ -520,6 +520,8 @@ nn::Result> RequestChannelReceiver::getPacketBlocki } return packet; } + + std::this_thread::yield(); } // If we get to this point, we either stopped polling because it was taking too long or polling @@ -665,6 +667,8 @@ nn::Result> ResultChannelReceiver::getPacketBlocking } return packet; } + + std::this_thread::yield(); } // If we get to this point, we either stopped polling because it was taking too long or polling