Change in libosmocore[master]: Declare osmo_ctx_init() in talloc.h

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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Dec 29 17:28:47 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/21884 )

Change subject: Declare osmo_ctx_init() in talloc.h
......................................................................

Declare osmo_ctx_init() in talloc.h

This function is called automatically on the main thread, but needs to
ba called explicitly in order to run the select loop on another thread.
Make it available for applications through talloc.h

Change-Id: Ie710ca9ad01d3fadb9f4ff344a55d6c01004727b
---
M include/osmocom/core/talloc.h
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Hoernchen: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/include/osmocom/core/talloc.h b/include/osmocom/core/talloc.h
index c68a56c..f15cd2a 100644
--- a/include/osmocom/core/talloc.h
+++ b/include/osmocom/core/talloc.h
@@ -25,3 +25,5 @@
  * to the various _c functions like msgb_alloc_c() */
 #define OTC_GLOBAL (osmo_ctx->global)
 #define OTC_SELECT (osmo_ctx->select)
+
+int osmo_ctx_init(const char *id);

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie710ca9ad01d3fadb9f4ff344a55d6c01004727b
Gerrit-Change-Number: 21884
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201229/12bde47a/attachment.htm>


More information about the gerrit-log mailing list