From c62a05140c36148b4cdc43815c9e84f0e5589993 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 1 Jul 2020 12:24:52 +0200 Subject: doc/manuals: Update thread documentation after dropping CTRL sock threads Per-ARFCN CTRL threads managing CTRL socket loops were dropped a while ago, but it was forgotten to udpate the documentation. Change-Id: I34d117325e60b04b075c205d21bb0b827a5e8c52 --- doc/manuals/chapters/code-architecture.adoc | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/manuals/chapters/code-architecture.adoc b/doc/manuals/chapters/code-architecture.adoc index 18d0e3a..f1feb2c 100644 --- a/doc/manuals/chapters/code-architecture.adoc +++ b/doc/manuals/chapters/code-architecture.adoc @@ -39,8 +39,7 @@ trans [label="Transceiver"]; radioiface [label="RadioInterface"]; radiodev [label="RadioDevice"]; -trans:nw->trans:ne [label="Trx.ControlServiceLoop_0"]; -trans:nw->trans:ne [label="Trx.ControlServiceLoop_1"]; +trans:nw->trans:ne [label="Main"]; trans:w->radioiface:w [label="Trx.TxPriorityQueueServiceLoop_0"]; trans:w->radioiface:w [label="Trx.TxPriorityQueueServiceLoop_1"]; radioiface:e->trans:e [label="Trx.RxServiceLoop_0"]; @@ -92,14 +91,6 @@ Static amount of Threads (1 per `Transceiver` instance): Dynamic amount of Threads (1 per RF logical channel on the `Transceiver` instance): -* `ControlServiceLoop`: Handles commands from the Per-ARFCN Control Interface - socket (<>). Each thread is responsible for managing one - socket related to one ARFCN or which is the same, to one RF logical channel. - These are the only threads expected to use the private `start()` and `stop()` - methods of the `Transceiver()` class, since those methods don't stop any of - the `ControlServiceLoop` threads as they must keep running to handle new - commands (for instance, to re-start processing samples with the _POWERON_ - command). * `RxServiceLoop`: Each thread of this type pulls bursts from the `RadioInterface` FIFO for one specific logical RF channel and handles it according to the slot and burst correlation type, finally sending proper data @@ -108,6 +99,10 @@ Dynamic amount of Threads (1 per RF logical channel on the `Transceiver` instanc Manager UDP socket (<>), and fills the `RadioInterface` with it setting clock related information. +All the Per-ARFCN Control Interface socket (<>) commands are +handled by the event loop runnnig on the main thread. This is the only thread +expected to use the private `start()` and `stop()` methods. + [[code_component_radioiface]] === RadioInterface -- cgit v1.2.3