#include <rpp/rpp.hpp>
#include <iostream>
#include <array>
int main()
{
rpp::source::just(42, 53, 10, 1).subscribe([](int v) { std::cout << v << std::endl; });
std::array<int, 100> cheap_to_copy_1{};
std::array<int, 100> cheap_to_copy_2{};
rpp::source::just<rpp::memory_model::use_shared>(cheap_to_copy_1, cheap_to_copy_2).subscribe();
}
scheduler which schedules execution of schedulables via queueing tasks to another thread with priorit...
Definition: new_thread_scheduler.hpp:32