public pop: () ==> Message
pop() == ( let rtn_data = hd queue in
(
queue := tl queue; return rtn_data;
)
);
sync per push => #fin(push) - #fin(pop) < size; --ensure that there's space in the queue per pop => #fin(push) - #fin(pop) > 0; --ensure that there's data in the queue mutex(pop,push); --Only a single activation of pop at a time. --Have not testet if this sync is enough.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.