Monado OpenXR Runtime
u_future.h
Go to the documentation of this file.
1// Copyright 2025, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Helper to implement @ref xrt_future,
6 * A basic CPU based future implementation.
7 * @author Korcan Hussein <korcan.hussein@collabora.com>
8 * @ingroup aux_util
9 */
10#pragma once
11
12#include "xrt/xrt_future.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18struct xrt_future *
19u_future_create(void);
20
21#ifdef __cplusplus
22}
23#endif
A future is a concurrency primitive that provides a mechanism to access results of asynchronous opera...
Definition: xrt_future.h:74
Interface for creating futures.