diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-07-01 12:24:52 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-07-01 12:24:56 +0200 |
commit | c62a05140c36148b4cdc43815c9e84f0e5589993 (patch) | |
tree | e13f70fdfd25a3b38eb72ef25c370616472d1a94 /doc | |
parent | a71c5d073ff9e304d061db381220fa528c3666d4 (diff) |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manuals/chapters/code-architecture.adoc | 15 |
1 files changed, 5 insertions, 10 deletions
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 (<<trx_if_control>>). 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 (<<trx_if>>), and fills the `RadioInterface` with it setting clock related information. +All the Per-ARFCN Control Interface socket (<<trx_if_control>>) 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 |