Change in osmo-mgw[master]: add a lock-free bounded spsc interthread queue

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Sep 14 09:14:59 UTC 2021


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/25431 )

Change subject: add a lock-free bounded spsc interthread queue
......................................................................


Patch Set 17:

(1 comment)

I'm still missing some documentation on the data structure, APIs, etc. for this data structure.

https://gerrit.osmocom.org/c/osmo-mgw/+/25431/17/src/libosmo-mgcp/mgcp_threads_queue.c 
File src/libosmo-mgcp/mgcp_threads_queue.c:

https://gerrit.osmocom.org/c/osmo-mgw/+/25431/17/src/libosmo-mgcp/mgcp_threads_queue.c@60 
PS17, Line 60: 	q->buf = _talloc_zero_array(q, size_per_buf, count, __location__);
this underscore before looks suspicious. Is this API public? Why not using talloc_zero_size here?



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/25431
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I4f17042baf76d086ce6b20eb99402dc64c22c657
Gerrit-Change-Number: 25431
Gerrit-PatchSet: 17
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: dexter <pmaier at sysmocom.de>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Tue, 14 Sep 2021 09:14:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210914/eb2a5a7d/attachment.htm>


More information about the gerrit-log mailing list