bankd: Add FIXME to the main thread

Change-Id: I5d36afdf2417023d09e7029244e2e649f08266b2
This commit is contained in:
Harald Welte 2018-10-03 23:21:10 +02:00
parent 511c51313d
commit 8f893ff208
1 changed files with 7 additions and 0 deletions

View File

@ -139,6 +139,13 @@ int main(int argc, char **argv)
while (1) {
if (terminate)
break;
/* FIXME: Connect to remsim-server from the main thread, register with
* it and await + process any slot mapping or other configuration commands.
* Ensure to re-connect as needed. */
/* we should generalize the SRVC (server connection) FSM from remsim-client
* and use it here. As long as only the main thread is using osmo_fsm, things
* are safe with regard to other threads */
sleep(1);
}