yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
ui_thread_queue.h File Reference
#include <chrono>
#include <condition_variable>
#include <cstddef>
#include <deque>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <thread>
#include <type_traits>
#include <utility>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yaze::util::UiThreadQueue
 Moves work from service threads (gRPC, HTTP) onto the UI thread. More...
 
struct  yaze::util::UiThreadQueue::IsStatusOr< T >
 
struct  yaze::util::UiThreadQueue::IsStatusOr< absl::StatusOr< T > >
 
struct  yaze::util::UiThreadQueue::Call
 
struct  yaze::util::UiThreadQueue::Entry
 
struct  yaze::util::MainLoopIdleState
 Inputs for the frame loop's idle decision. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::util
 

Functions

int yaze::util::MainLoopEventWaitMs (const MainLoopIdleState &state)
 Returns how long the frame loop may block waiting for an event.
 

Variables

constexpr std::chrono::milliseconds yaze::util::kMainLoopIdleAfter {1500}
 
constexpr int yaze::util::kMainLoopIdleWaitMs = 100
 
constexpr int yaze::util::kMainLoopHiddenWaitMs = 250