-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsystem_context.cpp
More file actions
25 lines (20 loc) · 517 Bytes
/
system_context.cpp
File metadata and controls
25 lines (20 loc) · 517 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Copyright (c) 2026 Vinnie Falco (vinnie.falco@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/cppalliance/capy
//
#include <boost/capy/ex/system_context.hpp>
#include <mutex>
namespace boost {
namespace capy {
auto
get_system_context() -> thread_pool&
{
static thread_pool ctx;
return ctx;
}
} // namespace capy
} // namespace boost