Change in osmo-bsc[master]: bsc: Use libosmocore API to track osmo_signal structs

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Aug 17 08:05:46 UTC 2018


Pau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/10483 )

Change subject: bsc: Use libosmocore API to track osmo_signal structs
......................................................................

bsc: Use libosmocore API to track osmo_signal structs

libosmocore recently had the new API introduced for this purpose.

Depends: libosmocore Change-Id Id58ca18eb826b8f4183a7cf0dbb2b38cba702a09
Change-Id: Id07260635327617f8da5050af1e906891a89c530
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 37e8665..8ff0e8a 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -783,7 +783,6 @@
 
 extern void *tall_paging_ctx;
 extern void *tall_fle_ctx;
-extern void *tall_sigh_ctx;
 extern void *tall_tqe_ctx;
 extern void *tall_ctr_ctx;
 
@@ -795,12 +794,12 @@
 
 	tall_bsc_ctx = talloc_named_const(NULL, 1, "osmo-bsc");
 	msgb_talloc_ctx_init(tall_bsc_ctx, 0);
+	osmo_signal_talloc_ctx_init(tall_bsc_ctx);
 	osmo_xua_msg_tall_ctx_init(tall_bsc_ctx);
 	vty_info.tall_ctx = tall_bsc_ctx;
 
 	tall_paging_ctx = talloc_named_const(tall_bsc_ctx, 0, "paging_request");
 	tall_fle_ctx = talloc_named_const(tall_bsc_ctx, 0, "bs11_file_list_entry");
-	tall_sigh_ctx = talloc_named_const(tall_bsc_ctx, 0, "signal_handler");
 	tall_tqe_ctx = talloc_named_const(tall_bsc_ctx, 0, "subch_txq_entry");
 	tall_ctr_ctx = talloc_named_const(tall_bsc_ctx, 0, "counter");
 

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id07260635327617f8da5050af1e906891a89c530
Gerrit-Change-Number: 10483
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180817/a03ac252/attachment.htm>


More information about the gerrit-log mailing list