[PATCH 0/1] Add MailBox
Harvey Yang
chenghaoyang at chromium.org
Tue Oct 1 10:10:07 CEST 2024
Hi folks,
This patch adds MailBox as a template helper class. It's often used with
Tasks, introduced in another patch: "Add Task and Scheduler". Normally,
there will be a task as the producer of a MailBox (with type
SharedMailBox), and other tasks that run after the producer task to use
the data as consumers.
This patch passed gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1281432
Please take a look. Thanks!
BR,
Harvey
Han-Lin Chen (1):
libcamera: Add mailbox template helper
include/libcamera/internal/mailbox.h | 50 +++++++++++++
include/libcamera/internal/meson.build | 1 +
src/libcamera/mailbox.cpp | 97 ++++++++++++++++++++++++++
src/libcamera/meson.build | 1 +
4 files changed, 149 insertions(+)
create mode 100644 include/libcamera/internal/mailbox.h
create mode 100644 src/libcamera/mailbox.cpp
--
2.46.1.824.gd892dcdcdd-goog
More information about the libcamera-devel
mailing list