Change in libosmocore[master]: fsm: add flag to ensure osmo_fsm_inst_term() happens only once

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Apr 8 13:50:30 UTC 2019


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/13545 )

Change subject: fsm: add flag to ensure osmo_fsm_inst_term() happens only once
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/13545/1/include/osmocom/core/fsm.h
File include/osmocom/core/fsm.h:

https://gerrit.osmocom.org/#/c/13545/1/include/osmocom/core/fsm.h@118
PS1, Line 118: 		bool terminating;
> one could use some "uint32_t flags" member and have a single-bit enum type flag in case we'd expect  […]
I see, but IMHO saving a few bytes of ram is not worth the trouble



-- 
To view, visit https://gerrit.osmocom.org/13545
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0c02d76a86f90c49e0eae2f85db64704c96a7674
Gerrit-Change-Number: 13545
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Comment-Date: Mon, 08 Apr 2019 13:50:30 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190408/94ddcfb3/attachment.html>


More information about the gerrit-log mailing list