diff --git a/doc/ISSUES.org b/doc/ISSUES.org index 73320511..782bc6f8 100644 --- a/doc/ISSUES.org +++ b/doc/ISSUES.org @@ -1,6 +1,28 @@ *Long term issues* ------------------ +* TODO #22: Enhanced services for SPSC Queue :ENHANCEMENT: + +Add services: + +** _push_bulk +Test the capacity of the queue and push as much as possible in the queue +with one check of the atomic structure. + +** _pop_bulk +Test the capacity of the queue and push as much as possible in the queue +with one check of the atomic structure. + + +Test the capacity of the queue and pop as much as possible in the queue +with one check of the atomic structure + +** _push_force: + +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. + + * TODO #21: Generic Binary serialization :ENHANCEMENT: Based on issue #26 of https://github.com/P-p-H-d/mlib/issues/26 diff --git a/m-buffer.h b/m-buffer.h index 4d05cbcf..e31912fb 100644 --- a/m-buffer.h +++ b/m-buffer.h @@ -1,5 +1,5 @@ /* - * M*LIB - Fixed size BUFFER & STACK interface + * M*LIB - Fixed size QUEUE & STACK interface * * Copyright (c) 2017-2019, Patrick Pelissier * All rights reserved.