Skip to content

Changes

Started by upstream project gerrit-libosmocore #2352
Started 13 hr ago
Queued 7.9 sec
Took 1 min 46 sec on build5-deb12build-ansible

Summary

  1. osmo_io: Lazy-initialize during osmo_iofd_setup() (details)
Commit 05903100666afaf721b7cb1209032c2f832d09d0 by Pau Espin Pedrol
osmo_io: Lazy-initialize during osmo_iofd_setup()

This way new threads (!=main) don't need to explicitly call
osmo_iofd_init() explicitly before using osmo_io. This is specially
useful for threads using osmo_io indirectly, eg, when logging.

The osmo_iofd_setup() API is really the only main API which requires
initialization. All other APIs requiring it come after osmo_iofd_setup()
since they use an osmo_iofd pointer.

Change-Id: Ia543c1b9d111c929cd9dbed266b6d21b74e47e4b
The file was modifiedsrc/core/osmo_io.c