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

daniel gerrit-no-reply at lists.osmocom.org
Mon Dec 28 21:31:17 UTC 2020


daniel has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/84/21884/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201228/240d937b/attachment.htm>


More information about the gerrit-log mailing list