From f962dc4cb50247258317c8783644bb93a7534a8c Mon Sep 17 00:00:00 2001 From: mutouyun Date: Thu, 20 Dec 2018 17:19:08 +0800 Subject: [PATCH] adjust comment --- include/circ_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/circ_queue.h b/include/circ_queue.h index 47629fa..b3099af 100644 --- a/include/circ_queue.h +++ b/include/circ_queue.h @@ -126,7 +126,7 @@ public: } } if (k < 1024) std::this_thread::yield(); - // yielding coarsening + // yielding => sleeping else std::this_thread::sleep_for(std::chrono::milliseconds(1)); } }