Skip to content

Changes

Started 8 hr 52 min ago
Queued 5.3 sec
Took 3 min 20 sec on built-in

Summary

  1. osmo_io: Move function declaration to internal header (details)
  2. osmo_io_uring: Split global init from per-thread init (details)
  3. osmo_io: Lazy-initialize during osmo_iofd_setup() (details)
Commit 6c3fb8936d25d986adf748b66fe7d420c57d05a1 by Pau Espin Pedrol
osmo_io: Move function declaration to internal header

Change-Id: I25ffb94e00225bcdc565f56a3f0f7834df00e974
The file was modifiedsrc/core/osmo_io.c
The file was modifiedsrc/core/osmo_io_internal.h
Commit 10bf165c16ece88233e881235f8b21135b09ed05 by Pau Espin Pedrol
osmo_io_uring: Split global init from per-thread init

osmo_iofd_init() is expected to be called per-thread, while some code in
osmo_iofd_uring_init() was only expected to be called once.

Change-Id: Ifa5c46d7532ea49869f3cfe7268fdd082906fd10
The file was modifiedsrc/core/osmo_io.c
The file was modifiedsrc/core/osmo_io_internal.h
The file was modifiedsrc/core/osmo_io_uring.c
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