ThreadSchedule
3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
shutdown_policy.hpp
Go to the documentation of this file.
1
#pragma once
2
8
#include <cstdint>
9
10
namespace
threadschedule
11
{
12
16
enum class
shutdown_policy
: std::uint8_t
17
{
19
drain
,
21
drop_pending
22
};
23
24
}
// namespace threadschedule
threadschedule
Definition
cgroup.hpp:18
threadschedule::shutdown_policy
shutdown_policy
Defines how pools handle pending work during shutdown.
Definition
shutdown_policy.hpp:17
threadschedule::shutdown_policy::drop_pending
@ drop_pending
Cancel/drop queued work that has not started yet.
threadschedule::shutdown_policy::drain
@ drain
Finish queued work before returning from shutdown.
include
threadschedule
shutdown_policy.hpp
Generated by
1.9.8