summaryrefslogtreecommitdiff
path: root/Documentation/index.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-30 03:38:45 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-11-17 09:43:24 +0200
commit7f1ebbab3864b83c1a1bd12f1ca7f2689fbb07d0 (patch)
tree/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019, Google Inc. * * event_loop.cpp - cam - Event loop */ #include <libcamera/event_dispatcher.h> #include "event_loop.h" using namespace libcamera; EventLoop::EventLoop(EventDispatcher *dispatcher) : dispatcher_(dispatcher) { } EventLoop::~EventLoop() { } int EventLoop::exec() { exitCode_ = -1; exit_.store(false, std::memory_order_release); while (!exit_.<