HomePhorge

Add field for current value to MQTTIterator

Referenced Files
None
Subscribers
None

Description

Add field for current value to MQTTIterator

Instead of keeping an element always in the buffer, the iterator has got
a separate field to store the currently referred value. The buffer is
used to buffer further incoming values.
This scheme better matches a general concurrent queue interface, where
enqueue and dequeue operations are available but peeking the front
element of the queue without removing it might not be possible.

Details

Provenance
Dávid JuhászAuthored on Jul 2 2020, 7:15 PM
juhaszPushed on Jul 8 2020, 2:25 PM
Parents
R20:7af51fe384ea: Comment out an unused function
Branches
Unknown
Tags
Unknown

Event Timeline

Dávid Juhász <juhasz.david.scholar@gmail.com> committed R20:d3004295cb70: Add field for current value to MQTTIterator (authored by Dávid Juhász <juhasz.david.scholar@gmail.com>).Jul 8 2020, 2:22 PM