Skip to content

Commit 929f98c

Browse files
committed
try to bring down the length of symbols a bit
1 parent d8b539f commit 929f98c

13 files changed

Lines changed: 341 additions & 320 deletions

include/exec/__detail/__system_context_default_impl.hpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
#pragma once
1717

1818
#include "__system_context_replaceability_api.hpp"
19-
#include "stdexec/execution.hpp"
20-
#include "exec/static_thread_pool.hpp"
19+
20+
#include "../../stdexec/execution.hpp"
21+
#include "../static_thread_pool.hpp"
2122
#if STDEXEC_ENABLE_LIBDISPATCH
22-
# include "exec/libdispatch_queue.hpp"
23+
# include "../libdispatch_queue.hpp" // IWYU pragma: keep
2324
#endif
2425

2526
#include <atomic>
@@ -198,8 +199,7 @@ namespace exec::__system_context_default_impl {
198199
}
199200

200201
void
201-
bulk_schedule(uint32_t __size, storage __storage, bulk_item_receiver* __r) noexcept
202-
override {
202+
bulk_schedule(uint32_t __size, storage __storage, bulk_item_receiver* __r) noexcept override {
203203
try {
204204
auto __sndr =
205205
stdexec::bulk(stdexec::schedule(__pool_scheduler_), __size, __bulk_functor{__r});
@@ -237,8 +237,8 @@ namespace exec::__system_context_default_impl {
237237
}
238238

239239
/// Set `__new_factory` as the new factory for `_Interface` and return the old one.
240-
auto
241-
__set_backend_factory(__system_context_backend_factory<_Interface> __new_factory) -> __system_context_backend_factory<_Interface> {
240+
auto __set_backend_factory(__system_context_backend_factory<_Interface> __new_factory)
241+
-> __system_context_backend_factory<_Interface> {
242242
// Replace the factory, keeping track of the old one.
243243
auto __old_factory = __factory_.exchange(__new_factory);
244244
// Create a new instance with the new factory.
@@ -258,7 +258,7 @@ namespace exec::__system_context_default_impl {
258258
std::atomic<__system_context_backend_factory<_Interface>> __factory_{__default_factory};
259259

260260
/// The default factory returns an instance of `_Impl`.
261-
static std::shared_ptr<_Interface> __default_factory() {
261+
static auto __default_factory() -> std::shared_ptr<_Interface> {
262262
return std::make_shared<_Impl>();
263263
}
264264

@@ -267,6 +267,7 @@ namespace exec::__system_context_default_impl {
267267
// Spin until we acquire the lock.
268268
}
269269
}
270+
270271
void __release_instance_lock() {
271272
__instance_locked_.store(false, std::memory_order_release);
272273
}

include/exec/__detail/__system_context_replaceability_api.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef STDEXEC_SYSTEM_CONTEXT_REPLACEABILITY_API_H
1818
#define STDEXEC_SYSTEM_CONTEXT_REPLACEABILITY_API_H
1919

20-
#include "stdexec/__detail/__execution_fwd.hpp"
20+
#include "../../stdexec/__detail/__execution_fwd.hpp"
2121

2222
#include <cstdint>
2323
#include <exception>

include/exec/libdispatch_queue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# define __has_extension(x) false
2828
# endif
2929

30-
# include "stdexec/execution.hpp"
30+
# include "../stdexec/execution.hpp"
3131
# include <dispatch/dispatch.h>
3232

3333
namespace exec {

include/exec/start_now.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
*/
1616
#pragma once
1717

18-
#include "stdexec/__detail/__execution_fwd.hpp"
18+
#include "../stdexec/__detail/__execution_fwd.hpp"
1919

20-
#include "stdexec/__detail/__concepts.hpp"
21-
#include "stdexec/__detail/__env.hpp"
22-
#include "stdexec/__detail/__receivers.hpp"
23-
#include "stdexec/__detail/__senders.hpp"
24-
#include "stdexec/__detail/__meta.hpp"
20+
#include "../stdexec/__detail/__concepts.hpp"
21+
#include "../stdexec/__detail/__env.hpp"
22+
#include "../stdexec/__detail/__receivers.hpp"
23+
#include "../stdexec/__detail/__senders.hpp"
24+
#include "../stdexec/__detail/__meta.hpp"
2525

2626
#include "async_scope.hpp"
2727

include/exec/system_context.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <utility>
1919

20-
#include "stdexec/execution.hpp"
20+
#include "../stdexec/execution.hpp"
2121
#include "__detail/__system_context_replaceability_api.hpp"
2222

2323
#ifndef STDEXEC_SYSTEM_CONTEXT_SCHEDULE_OP_SIZE

0 commit comments

Comments
 (0)