15 lines
302 B
C++
15 lines
302 B
C++
#pragma once
|
|
|
|
#include <Windows.h>
|
|
|
|
#include <atomic>
|
|
|
|
namespace pp::platform::windows {
|
|
|
|
void mark_lifecycle_running() noexcept;
|
|
void mark_lifecycle_stopped() noexcept;
|
|
[[nodiscard]] bool lifecycle_is_running() noexcept;
|
|
[[nodiscard]] std::atomic<int>& retained_lifecycle_running_state() noexcept;
|
|
|
|
}
|