Change in osmo-trx[master]: device/uhd: re-introduce OSMO_ASSERT() in async_event_loop()

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

fixeria gerrit-no-reply at lists.osmocom.org
Sat Oct 24 00:32:27 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/20874 )


Change subject: device/uhd: re-introduce OSMO_ASSERT() in async_event_loop()
......................................................................

device/uhd: re-introduce OSMO_ASSERT() in async_event_loop()

It was removed in change [1] without any explanation...

[1] Change-Id: Ice63d3499026293ade8aad675ff7a883bcdd5756
[1] Git hash:  1e17c4fb0a77dcee49a7cd566dca7e8f48f6d8e7

Change-Id: I424233074cad42ae1520c92d6e627eb983303478
---
M Transceiver52M/device/uhd/UHDDevice.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/74/20874/1

diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp
index 010fa8c..332e14e 100644
--- a/Transceiver52M/device/uhd/UHDDevice.cpp
+++ b/Transceiver52M/device/uhd/UHDDevice.cpp
@@ -145,7 +145,7 @@
 void *async_event_loop(uhd_device *dev)
 {
 	set_selfthread_name("UHDAsyncEvent");
-	osmo_cpu_sched_vty_apply_localthread();
+	OSMO_ASSERT(osmo_cpu_sched_vty_apply_localthread() == 0);
 
 	while (1) {
 		dev->recv_async_msg();

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

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I424233074cad42ae1520c92d6e627eb983303478
Gerrit-Change-Number: 20874
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201024/8a59de20/attachment.htm>


More information about the gerrit-log mailing list