diff --git a/src/util-cuda-buffer.c b/src/util-cuda-buffer.c index f94b3dcca1..d332470d3e 100644 --- a/src/util-cuda-buffer.c +++ b/src/util-cuda-buffer.c @@ -155,7 +155,7 @@ void CudaBufferCullCompletedSlices(CudaBufferData *cb_data, SCLogDebug("CudaBuffer waiting on an item to finish"); if (buffer_reset) { while (!SC_ATOMIC_GET(slice_temp->done)) - ; + usleep(1); } else { break; }