osmocom-bb[master]: WIP: First invocation of a primitive and callback into lua..

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

Holger Freyther gerrit-no-reply at lists.osmocom.org
Fri Nov 10 10:45:04 UTC 2017


Patch Set 1:

And here is the just completed callback code..

* Call from Lua->C and issue a primtivie..
* On primitive indication callback into LUA

So I want a callback style of work for the scripts. Instead of plain imperative. But actually we could also have a style of...

  osmo.timeout(5)
  print("Continue stuff")

and yield execution inbetween. The big issue with this.. is one needs to invent kind of a selective receive to wait for SMS or network selection...

-- 
To view, visit https://gerrit.osmocom.org/4772
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I55603f71a1d2426622e3b601d2686903cb74a8e1
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: No



More information about the gerrit-log mailing list