// Headers are available because we added the pls target #include #include #include #include #include #include #include #include using namespace pls; int main() { using aligned_state = std::aligned_storage::type; aligned_state data; std::cout << sizeof(aligned_state) << std::endl; malloc_scheduler_memory sched_memory{8}; std::cout << (std::uintptr_t)sched_memory.thread_for(0) % 64 << ", " << (std::uintptr_t)sched_memory.thread_for(1) % 64 << ", " << (std::uintptr_t)sched_memory.thread_for(2) % 64 << ", " << std::endl; }