19#ifndef CPPREALM_DEFAULT_SCHEDULERS_HPP
20#define CPPREALM_DEFAULT_SCHEDULERS_HPP
22#include <cpprealm/scheduler.hpp>
24#if __has_include(<cpprealm/util/config.h>)
25#include <cpprealm/util/config.h>
28#if defined(REALM_HAVE_UV) && REALM_HAVE_UV
29typedef struct uv_loop_s uv_loop_t;
32namespace realm::default_scheduler {
41 std::shared_ptr<scheduler> make_platform_default();
48 void set_default_factory(std::function<std::shared_ptr<scheduler>()>&& factory_fn);
55 std::shared_ptr<scheduler> make_default();