Update
This commit is contained in:
1 parent
d70ef53283
commit
50d89f71cb
1 file changed
+2
-8
+2
-8
@@ -1,7 +1,7 @@
|
|||||||
*Long term issues*
|
*Long term issues*
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
* TODO #22: Enhanced services for SPSC Queue :ENHANCEMENT:
|
* DONE #22: Enhanced services for SPSC Queue :ENHANCEMENT:
|
||||||
|
|
||||||
Add services:
|
Add services:
|
||||||
|
|
||||||
@@ -13,13 +13,7 @@ with one check of the atomic structure.
|
|||||||
Test the capacity of the queue and push as much as possible in the queue
|
Test the capacity of the queue and push as much as possible in the queue
|
||||||
with one check of the atomic structure.
|
with one check of the atomic structure.
|
||||||
|
|
||||||
** _push_blocking
|
** DONE _push_force:
|
||||||
Add blocking mode? only backof or with sleep?
|
|
||||||
|
|
||||||
** _pop_blocking
|
|
||||||
Add blocking mode ?
|
|
||||||
|
|
||||||
** _push_force:
|
|
||||||
|
|
||||||
If the capacity of the queue is full, pop one element and push it:
|
If the capacity of the queue is full, pop one element and push it:
|
||||||
push always succeed and the queue always keep the youngest element.
|
push always succeed and the queue always keep the youngest element.
|
||||||
|
|||||||
Reference in new issue
Block a user