passenger 6.0.26 → 6.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (884) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +28 -1
  3. data/CONTRIBUTING.md +2 -2
  4. data/build/agent.rb +0 -2
  5. data/build/basics.rb +2 -0
  6. data/build/common_library.rb +0 -6
  7. data/build/misc.rb +0 -2
  8. data/build/schema_printer.rb +0 -2
  9. data/build/support/cxx_dependency_map.rb +57 -254
  10. data/dev/copy_boost_headers +3 -14
  11. data/dev/index_cxx_dependencies.rb +1 -1
  12. data/doc/AiInstructions.md +112 -0
  13. data/doc/CxxMockingStrategy.md +42 -0
  14. data/doc/CxxTestingGuide.md +110 -0
  15. data/doc/DesignAspects/LimitedGemDependencies.md +22 -14
  16. data/doc/TempFileHandling.md +15 -0
  17. data/passenger.gemspec +1 -1
  18. data/resources/templates/standalone/server.erb +1 -0
  19. data/src/agent/Core/ApiServer.h +0 -1
  20. data/src/agent/Core/ApplicationPool/AbstractSession.h +10 -1
  21. data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
  22. data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +33 -18
  23. data/src/agent/Core/ApplicationPool/Group.h +0 -1
  24. data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -3
  25. data/src/agent/Core/ApplicationPool/Session.h +14 -19
  26. data/src/agent/Core/ApplicationPool/Socket.h +15 -5
  27. data/src/agent/Core/ApplicationPool/TestSession.h +74 -15
  28. data/src/agent/Core/Config.h +2 -34
  29. data/src/agent/Core/ConfigChange.cpp +1 -41
  30. data/src/agent/Core/Controller/CheckoutSession.cpp +100 -14
  31. data/src/agent/Core/Controller/Client.h +0 -1
  32. data/src/agent/Core/Controller/Config.h +1 -1
  33. data/src/agent/Core/Controller/Hooks.cpp +13 -0
  34. data/src/agent/Core/Controller/InitRequest.cpp +2 -0
  35. data/src/agent/Core/Controller/InternalUtils.cpp +12 -0
  36. data/src/agent/Core/Controller/Request.h +3 -2
  37. data/src/agent/Core/Controller.h +12 -13
  38. data/src/agent/Core/CoreMain.cpp +1 -56
  39. data/src/agent/Core/OptionParser.h +1 -7
  40. data/src/agent/Core/SecurityUpdateChecker.h +0 -1
  41. data/src/agent/Watchdog/Config.h +2 -21
  42. data/src/agent/Watchdog/WatchdogMain.cpp +0 -2
  43. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +0 -20
  44. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +0 -60
  45. data/src/apache2_module/Hooks.cpp +0 -4
  46. data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +0 -44
  47. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +0 -52
  48. data/src/cxx_supportlib/Algorithms/Hasher.cpp +1 -1
  49. data/src/cxx_supportlib/Algorithms/Hasher.h +4 -7
  50. data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -160
  51. data/src/cxx_supportlib/Constants.h +2 -1
  52. data/src/cxx_supportlib/DataStructures/StringMap.h +2 -3
  53. data/src/cxx_supportlib/FileTools/FileManip.h +2 -0
  54. data/src/cxx_supportlib/Hooks.h +0 -1
  55. data/src/cxx_supportlib/IOTools/IOUtils.cpp +49 -60
  56. data/src/cxx_supportlib/IOTools/IOUtils.h +65 -73
  57. data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +2 -0
  58. data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +8 -6
  59. data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +2 -2
  60. data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +0 -2
  61. data/src/cxx_supportlib/Utils/FastStringStream.h +7 -7
  62. data/src/cxx_supportlib/Utils/IniFile.h +24 -25
  63. data/src/cxx_supportlib/Utils.h +0 -30
  64. data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +4 -0
  65. data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -0
  66. data/src/cxx_supportlib/oxt/implementation.cpp +41 -2
  67. data/src/cxx_supportlib/oxt/system_calls.cpp +1 -0
  68. data/src/cxx_supportlib/oxt/system_calls.hpp +3 -4
  69. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +2 -2
  70. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +5 -0
  71. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +1 -0
  72. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_or_allocator_rebind.hpp +1 -2
  73. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +23 -13
  74. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +72 -49
  75. data/src/cxx_supportlib/vendor-modified/boost/container/detail/function_detector.hpp +1 -1
  76. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +15 -11
  77. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +4 -0
  78. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +36 -9
  79. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +9 -2
  80. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +4 -0
  81. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +21 -17
  82. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +5 -0
  83. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +10 -6
  84. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +8 -3
  85. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +21 -3
  86. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +5 -15
  87. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +73 -14
  88. data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +1 -2
  89. data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +18 -29
  90. data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +7 -7
  91. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +6 -10
  92. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +8 -0
  93. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +4 -0
  94. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +8 -0
  95. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +12 -4
  96. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/function_detector.hpp +1 -1
  97. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/parent_from_member.hpp +5 -4
  98. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +10 -0
  99. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +5 -0
  100. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +4 -0
  101. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +8 -0
  102. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +8 -0
  103. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +4 -0
  104. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +5 -0
  105. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +8 -0
  106. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +4 -0
  107. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +4 -0
  108. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +8 -0
  109. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +7 -7
  110. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +1 -1
  111. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +1 -1
  112. data/src/cxx_supportlib/vendor-modified/boost/move/adl_move_swap.hpp +2 -0
  113. data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +4 -4
  114. data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +1 -20
  115. data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +15 -0
  116. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +1 -1
  117. data/src/cxx_supportlib/vendor-modified/boost/move/detail/placement_new.hpp +2 -0
  118. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +7 -7
  119. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +3 -0
  120. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +4 -4
  121. data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
  122. data/src/cxx_supportlib/vendor-modified/boost/none.hpp +1 -1
  123. data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +10 -4
  124. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/experimental_traits.hpp +4 -49
  125. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +2 -3
  126. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +13 -4
  127. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +47 -46
  128. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +11 -11
  129. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_swap.hpp +3 -3
  130. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +12 -252
  131. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_utility.hpp +41 -0
  132. data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +101 -592
  133. data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +1 -5
  134. data/src/cxx_supportlib/vendor-modified/boost/pointer_cast.hpp +12 -24
  135. data/src/cxx_supportlib/vendor-modified/boost/random/beta_distribution.hpp +5 -5
  136. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +15 -15
  137. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +37 -44
  138. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +1 -23
  139. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +1 -0
  140. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/deprecated_macros.hpp +52 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +14 -18
  142. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +7 -15
  143. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +39 -90
  144. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +0 -16
  145. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +1 -0
  146. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +13 -14
  147. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +16 -17
  148. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +16 -55
  149. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_noexcept.hpp +5 -14
  150. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_type_traits.hpp +55 -0
  151. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +1 -0
  152. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +5 -6
  153. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +7 -10
  154. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +32 -110
  155. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ref_counter.hpp +17 -18
  156. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +2 -6
  157. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +10 -9
  158. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +28 -565
  159. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_unique.hpp +11 -17
  160. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +17 -21
  161. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +20 -22
  162. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +34 -68
  163. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +78 -356
  164. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +31 -89
  165. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +195 -12
  166. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +206 -17
  167. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map.hpp +1202 -0
  168. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map_fwd.hpp +67 -0
  169. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set.hpp +1065 -0
  170. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set_fwd.hpp +67 -0
  171. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/concurrent_static_asserts.hpp +30 -8
  172. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +248 -47
  173. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +24 -0
  174. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +10 -2
  175. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +8 -2
  176. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +120 -5
  177. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_handle.hpp +56 -0
  178. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +15 -4
  179. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_handle.hpp +48 -0
  180. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +13 -4
  181. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +11 -10
  182. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/types_constructibility.hpp +172 -0
  183. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1 -0
  184. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +0 -17
  185. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +0 -17
  186. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +11 -0
  187. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +9 -0
  188. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +9 -0
  189. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +2 -2
  190. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +32 -44
  191. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +31 -35
  192. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_printers.hpp +414 -0
  193. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +2 -2
  194. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  195. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -32
  196. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
  197. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -48
  198. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
  199. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
  200. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
  201. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
  202. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
  203. data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +0 -24
  204. data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +0 -48
  205. data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +0 -16
  206. data/src/nginx_module/ngx_http_passenger_module.c +0 -4
  207. data/src/ruby_native_extension/passenger_native_support.c +19 -3
  208. data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +8 -24
  209. data/src/ruby_supportlib/phusion_passenger/common_library.rb +0 -3
  210. data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -0
  211. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -28
  212. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +9 -8
  213. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +2 -27
  214. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +0 -30
  215. data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +8 -20
  216. data/src/ruby_supportlib/phusion_passenger.rb +7 -7
  217. data/src/schema_printer/SchemaPrinterMain.cpp +0 -4
  218. metadata +19 -670
  219. data/dev/websocketpp.patch +0 -39
  220. data/src/agent/Core/AdminPanelConnector.h +0 -680
  221. data/src/cxx_supportlib/DataStructures/HashMap.h +0 -60
  222. data/src/cxx_supportlib/FileTools/LargeFiles.cpp +0 -41
  223. data/src/cxx_supportlib/FileTools/LargeFiles.h +0 -43
  224. data/src/cxx_supportlib/WebSocketCommandReverseServer.h +0 -975
  225. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +0 -338
  226. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +0 -824
  227. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +0 -353
  228. data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +0 -67
  229. data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +0 -154
  230. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +0 -216
  231. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +0 -223
  232. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +0 -237
  233. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +0 -283
  234. data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +0 -37
  235. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +0 -950
  236. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +0 -144
  237. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +0 -1364
  238. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +0 -712
  239. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +0 -826
  240. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +0 -288
  241. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +0 -691
  242. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +0 -1358
  243. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +0 -628
  244. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +0 -825
  245. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +0 -989
  246. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +0 -650
  247. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +0 -1938
  248. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +0 -2710
  249. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +0 -333
  250. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +0 -644
  251. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +0 -746
  252. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +0 -1165
  253. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +0 -452
  254. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +0 -38
  255. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +0 -826
  256. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +0 -624
  257. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +0 -598
  258. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +0 -615
  259. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +0 -666
  260. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +0 -618
  261. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +0 -2755
  262. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +0 -320
  263. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +0 -275
  264. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +0 -27
  265. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +0 -294
  266. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +0 -27
  267. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +0 -267
  268. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +0 -27
  269. data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +0 -523
  270. data/src/cxx_supportlib/vendor-modified/boost/asio/cancel_after.hpp +0 -303
  271. data/src/cxx_supportlib/vendor-modified/boost/asio/cancel_at.hpp +0 -296
  272. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +0 -247
  273. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +0 -237
  274. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +0 -159
  275. data/src/cxx_supportlib/vendor-modified/boost/asio/co_composed.hpp +0 -1323
  276. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +0 -525
  277. data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +0 -269
  278. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +0 -130
  279. data/src/cxx_supportlib/vendor-modified/boost/asio/composed.hpp +0 -415
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +0 -1348
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +0 -85
  282. data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +0 -77
  283. data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +0 -330
  284. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +0 -40
  285. data/src/cxx_supportlib/vendor-modified/boost/asio/default_completion_token.hpp +0 -91
  286. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +0 -220
  287. data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +0 -721
  288. data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +0 -107
  289. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +0 -32
  290. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +0 -32
  291. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +0 -32
  292. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +0 -61
  293. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +0 -166
  294. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +0 -71
  295. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +0 -713
  296. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +0 -109
  297. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +0 -68
  298. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +0 -839
  299. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +0 -128
  300. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +0 -127
  301. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +0 -47
  302. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +0 -192
  303. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +0 -90
  304. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_message.hpp +0 -129
  305. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_payload.hpp +0 -222
  306. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_payload_handler.hpp +0 -81
  307. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +0 -254
  308. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +0 -94
  309. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +0 -122
  310. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +0 -151
  311. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +0 -1413
  312. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +0 -445
  313. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +0 -29
  314. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +0 -42
  315. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +0 -34
  316. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +0 -341
  317. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +0 -38
  318. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +0 -181
  319. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +0 -190
  320. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +0 -189
  321. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +0 -249
  322. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +0 -297
  323. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +0 -48
  324. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +0 -85
  325. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +0 -31
  326. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +0 -154
  327. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +0 -86
  328. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +0 -41
  329. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +0 -42
  330. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +0 -35
  331. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +0 -32
  332. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +0 -52
  333. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +0 -123
  334. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +0 -45
  335. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +0 -268
  336. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +0 -555
  337. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +0 -513
  338. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +0 -333
  339. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +0 -120
  340. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +0 -996
  341. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +0 -113
  342. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +0 -471
  343. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +0 -111
  344. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +0 -828
  345. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +0 -173
  346. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +0 -400
  347. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +0 -207
  348. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +0 -142
  349. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +0 -114
  350. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +0 -916
  351. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +0 -251
  352. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +0 -115
  353. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +0 -610
  354. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +0 -76
  355. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +0 -131
  356. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +0 -65
  357. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +0 -48
  358. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_serial_port_service.ipp +0 -170
  359. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +0 -86
  360. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +0 -48
  361. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +0 -234
  362. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +0 -314
  363. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +0 -160
  364. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +0 -677
  365. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +0 -126
  366. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +0 -402
  367. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +0 -95
  368. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +0 -199
  369. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +0 -828
  370. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +0 -4046
  371. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +0 -187
  372. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +0 -348
  373. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +0 -160
  374. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +0 -88
  375. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +0 -204
  376. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +0 -37
  377. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +0 -51
  378. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +0 -99
  379. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +0 -103
  380. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_defer.hpp +0 -209
  381. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_dispatch.hpp +0 -195
  382. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_post.hpp +0 -209
  383. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiation_base.hpp +0 -64
  384. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +0 -86
  385. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +0 -179
  386. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +0 -197
  387. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +0 -192
  388. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +0 -689
  389. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +0 -191
  390. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +0 -187
  391. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +0 -263
  392. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +0 -116
  393. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +0 -86
  394. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +0 -321
  395. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +0 -282
  396. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +0 -142
  397. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +0 -207
  398. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +0 -208
  399. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +0 -194
  400. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +0 -193
  401. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +0 -196
  402. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +0 -631
  403. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +0 -665
  404. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +0 -114
  405. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +0 -298
  406. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +0 -128
  407. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +0 -72
  408. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +0 -273
  409. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/limits.hpp +0 -21
  410. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +0 -61
  411. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +0 -128
  412. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +0 -48
  413. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +0 -45
  414. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +0 -45
  415. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +0 -108
  416. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +0 -49
  417. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +0 -61
  418. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +0 -62
  419. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +0 -85
  420. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +0 -71
  421. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +0 -521
  422. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +0 -62
  423. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +0 -69
  424. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +0 -70
  425. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +0 -173
  426. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +0 -164
  427. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +0 -40
  428. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +0 -91
  429. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +0 -157
  430. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +0 -177
  431. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +0 -120
  432. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +0 -82
  433. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +0 -78
  434. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_serial_port_service.hpp +0 -251
  435. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +0 -87
  436. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +0 -66
  437. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +0 -111
  438. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +0 -81
  439. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +0 -228
  440. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +0 -572
  441. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +0 -133
  442. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +0 -325
  443. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +0 -164
  444. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +0 -199
  445. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +0 -205
  446. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +0 -186
  447. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +0 -202
  448. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +0 -196
  449. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +0 -635
  450. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +0 -757
  451. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +0 -133
  452. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +0 -56
  453. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +0 -73
  454. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +0 -214
  455. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +0 -116
  456. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +0 -35
  457. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +0 -142
  458. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +0 -47
  459. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +0 -152
  460. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +0 -149
  461. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +0 -160
  462. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +0 -243
  463. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +0 -80
  464. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +0 -51
  465. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +0 -42
  466. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +0 -103
  467. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +0 -89
  468. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +0 -48
  469. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +0 -293
  470. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +0 -165
  471. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +0 -46
  472. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +0 -92
  473. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +0 -49
  474. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +0 -55
  475. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +0 -294
  476. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +0 -100
  477. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +0 -377
  478. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +0 -318
  479. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +0 -93
  480. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +0 -429
  481. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +0 -47
  482. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +0 -52
  483. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +0 -185
  484. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +0 -59
  485. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +0 -67
  486. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +0 -70
  487. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +0 -78
  488. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +0 -68
  489. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +0 -175
  490. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +0 -146
  491. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +0 -49
  492. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +0 -60
  493. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +0 -53
  494. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +0 -101
  495. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +0 -262
  496. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +0 -64
  497. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +0 -57
  498. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timed_cancel_op.hpp +0 -363
  499. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +0 -391
  500. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +0 -70
  501. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +0 -105
  502. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +0 -68
  503. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +0 -37
  504. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +0 -44
  505. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +0 -71
  506. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +0 -180
  507. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +0 -85
  508. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +0 -92
  509. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +0 -51
  510. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +0 -130
  511. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +0 -145
  512. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +0 -197
  513. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +0 -199
  514. data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +0 -390
  515. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +0 -280
  516. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +0 -1935
  517. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +0 -48
  518. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +0 -1362
  519. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +0 -1082
  520. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +0 -193
  521. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +0 -192
  522. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +0 -118
  523. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +0 -42
  524. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +0 -45
  525. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +0 -1004
  526. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +0 -186
  527. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +0 -755
  528. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +0 -330
  529. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +0 -753
  530. data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +0 -33
  531. data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +0 -390
  532. data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +0 -365
  533. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +0 -364
  534. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +0 -38
  535. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +0 -134
  536. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +0 -38
  537. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +0 -538
  538. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +0 -516
  539. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +0 -516
  540. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +0 -154
  541. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +0 -72
  542. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +0 -88
  543. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +0 -303
  544. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +0 -35
  545. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +0 -189
  546. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +0 -72
  547. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +0 -295
  548. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +0 -230
  549. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +0 -38
  550. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +0 -363
  551. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +0 -128
  552. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +0 -202
  553. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +0 -149
  554. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +0 -681
  555. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +0 -171
  556. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +0 -142
  557. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +0 -56
  558. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +0 -625
  559. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +0 -199
  560. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +0 -183
  561. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +0 -63
  562. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +0 -1224
  563. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +0 -790
  564. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +0 -257
  565. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +0 -216
  566. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +0 -68
  567. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +0 -457
  568. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +0 -38
  569. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +0 -226
  570. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +0 -191
  571. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +0 -113
  572. data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +0 -168
  573. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +0 -191
  574. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +0 -125
  575. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +0 -135
  576. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +0 -112
  577. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +0 -123
  578. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +0 -124
  579. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +0 -129
  580. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +0 -56
  581. data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +0 -41
  582. data/src/cxx_supportlib/vendor-modified/boost/asio/immediate.hpp +0 -144
  583. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +0 -128
  584. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +0 -136
  585. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +0 -171
  586. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +0 -278
  587. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +0 -1198
  588. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +0 -406
  589. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +0 -386
  590. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancel_after.hpp +0 -270
  591. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancel_at.hpp +0 -270
  592. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +0 -98
  593. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +0 -459
  594. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +0 -705
  595. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +0 -75
  596. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +0 -151
  597. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +0 -146
  598. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +0 -149
  599. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +0 -79
  600. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +0 -130
  601. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +0 -79
  602. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +0 -84
  603. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +0 -319
  604. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +0 -45
  605. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +0 -435
  606. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +0 -178
  607. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +0 -47
  608. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +0 -172
  609. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +0 -904
  610. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +0 -564
  611. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +0 -2670
  612. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +0 -289
  613. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +0 -61
  614. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +0 -556
  615. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +0 -1402
  616. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +0 -93
  617. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +0 -36
  618. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +0 -94
  619. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +0 -181
  620. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +0 -279
  621. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +0 -144
  622. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +0 -303
  623. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +0 -709
  624. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +0 -782
  625. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +0 -482
  626. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +0 -1507
  627. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +0 -398
  628. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +0 -35
  629. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +0 -20
  630. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +0 -283
  631. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +0 -423
  632. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +0 -158
  633. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +0 -130
  634. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +0 -409
  635. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +0 -180
  636. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +0 -126
  637. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +0 -65
  638. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +0 -284
  639. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +0 -1114
  640. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +0 -115
  641. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +0 -190
  642. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +0 -262
  643. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +0 -309
  644. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +0 -143
  645. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +0 -197
  646. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +0 -568
  647. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +0 -44
  648. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +0 -117
  649. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +0 -69
  650. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +0 -237
  651. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +0 -69
  652. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +0 -208
  653. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +0 -69
  654. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +0 -344
  655. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +0 -45
  656. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +0 -56
  657. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +0 -56
  658. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +0 -220
  659. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +0 -55
  660. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +0 -189
  661. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +0 -193
  662. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +0 -259
  663. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +0 -233
  664. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +0 -131
  665. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +0 -45
  666. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +0 -157
  667. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +0 -113
  668. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +0 -72
  669. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +0 -71
  670. data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +0 -63
  671. data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +0 -47
  672. data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +0 -48
  673. data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +0 -61
  674. data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +0 -61
  675. data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +0 -245
  676. data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +0 -103
  677. data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +0 -82
  678. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +0 -141
  679. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +0 -133
  680. data/src/cxx_supportlib/vendor-modified/boost/asio/local/seq_packet_protocol.hpp +0 -86
  681. data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +0 -92
  682. data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +0 -54
  683. data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +0 -68
  684. data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +0 -83
  685. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +0 -775
  686. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +0 -561
  687. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +0 -39
  688. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +0 -92
  689. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +0 -39
  690. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +0 -215
  691. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +0 -581
  692. data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +0 -68
  693. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +0 -315
  694. data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +0 -37
  695. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +0 -1549
  696. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +0 -830
  697. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +0 -3204
  698. data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +0 -37
  699. data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +0 -140
  700. data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +0 -106
  701. data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +0 -346
  702. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +0 -437
  703. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +0 -347
  704. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +0 -38
  705. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +0 -169
  706. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +0 -30
  707. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +0 -173
  708. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +0 -561
  709. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +0 -873
  710. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +0 -764
  711. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +0 -211
  712. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +0 -121
  713. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +0 -171
  714. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +0 -69
  715. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +0 -379
  716. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +0 -171
  717. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +0 -378
  718. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +0 -103
  719. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +0 -34
  720. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +0 -68
  721. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +0 -74
  722. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +0 -71
  723. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +0 -219
  724. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +0 -64
  725. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +0 -78
  726. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +0 -129
  727. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +0 -92
  728. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +0 -69
  729. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +0 -1324
  730. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +0 -126
  731. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +0 -75
  732. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +0 -166
  733. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +0 -29
  734. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +0 -100
  735. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +0 -1044
  736. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +0 -54
  737. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +0 -69
  738. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +0 -65
  739. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +0 -28
  740. data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +0 -33
  741. data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +0 -39
  742. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +0 -559
  743. data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +0 -37
  744. data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +0 -35
  745. data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +0 -92
  746. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +0 -673
  747. data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +0 -39
  748. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +0 -269
  749. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +0 -965
  750. data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +0 -88
  751. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +0 -102
  752. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +0 -106
  753. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +0 -106
  754. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +0 -106
  755. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +0 -106
  756. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +0 -106
  757. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +0 -103
  758. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +0 -106
  759. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +0 -106
  760. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +0 -106
  761. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +0 -106
  762. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +0 -104
  763. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +0 -117
  764. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +0 -118
  765. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +0 -24
  766. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +0 -35
  767. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +0 -40
  768. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +0 -20
  769. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +0 -26
  770. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +0 -238
  771. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +0 -27
  772. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +0 -26
  773. data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +0 -21
  774. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +0 -163
  775. data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +0 -161
  776. data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +0 -69
  777. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +0 -23
  778. data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +0 -58
  779. data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +0 -37
  780. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +0 -1528
  781. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +0 -843
  782. data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +0 -23
  783. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +0 -195
  784. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +0 -1059
  785. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/operator_bool.hpp +0 -64
  786. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/requires_cxx11.hpp +0 -23
  787. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_forward.hpp +0 -52
  788. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_nullptr_t.hpp +0 -45
  789. data/src/cxx_supportlib/vendor-modified/websocketpp/COPYING +0 -145
  790. data/src/cxx_supportlib/vendor-modified/websocketpp/changelog.md +0 -444
  791. data/src/cxx_supportlib/vendor-modified/websocketpp/readme.md +0 -49
  792. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/base64/base64.hpp +0 -178
  793. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/client.hpp +0 -33
  794. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/close.hpp +0 -353
  795. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio.hpp +0 -141
  796. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio_ssl.hpp +0 -39
  797. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/chrono.hpp +0 -68
  798. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/connection_hdl.hpp +0 -52
  799. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/cpp11.hpp +0 -162
  800. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/functional.hpp +0 -100
  801. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +0 -448
  802. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/memory.hpp +0 -88
  803. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/network.hpp +0 -106
  804. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/platforms.hpp +0 -46
  805. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/random.hpp +0 -82
  806. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/regex.hpp +0 -59
  807. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/stdint.hpp +0 -73
  808. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/system_error.hpp +0 -84
  809. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/thread.hpp +0 -88
  810. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/time.hpp +0 -56
  811. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/type_traits.hpp +0 -65
  812. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/concurrency/basic.hpp +0 -46
  813. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/concurrency/none.hpp +0 -80
  814. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio.hpp +0 -77
  815. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_client.hpp +0 -77
  816. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -73
  817. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -73
  818. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/boost_config.hpp +0 -72
  819. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core.hpp +0 -297
  820. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core_client.hpp +0 -294
  821. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug.hpp +0 -286
  822. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug_asio.hpp +0 -77
  823. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -73
  824. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/minimal_client.hpp +0 -72
  825. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/minimal_server.hpp +0 -312
  826. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection.hpp +0 -1642
  827. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection_base.hpp +0 -38
  828. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint.hpp +0 -700
  829. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint_base.hpp +0 -38
  830. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/error.hpp +0 -277
  831. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/extension.hpp +0 -102
  832. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -129
  833. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -817
  834. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/frame.hpp +0 -853
  835. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/constants.hpp +0 -308
  836. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/parser.hpp +0 -200
  837. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/request.hpp +0 -191
  838. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/response.hpp +0 -266
  839. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/parser.hpp +0 -629
  840. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/request.hpp +0 -124
  841. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/response.hpp +0 -188
  842. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/connection_impl.hpp +0 -2375
  843. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -269
  844. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -87
  845. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/basic.hpp +0 -199
  846. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/levels.hpp +0 -203
  847. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/stub.hpp +0 -119
  848. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/syslog.hpp +0 -146
  849. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -105
  850. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/message.hpp +0 -340
  851. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/pool.hpp +0 -229
  852. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/base.hpp +0 -299
  853. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi00.hpp +0 -462
  854. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi07.hpp +0 -78
  855. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi08.hpp +0 -83
  856. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi13.hpp +0 -1072
  857. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/processor.hpp +0 -407
  858. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/random/none.hpp +0 -60
  859. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/random/random_device.hpp +0 -80
  860. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -173
  861. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -195
  862. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/server.hpp +0 -33
  863. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/sha1/sha1.hpp +0 -189
  864. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/base.hpp +0 -232
  865. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/connection.hpp +0 -1197
  866. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -1182
  867. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -159
  868. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -372
  869. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -474
  870. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/connection.hpp +0 -238
  871. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -77
  872. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/base.hpp +0 -104
  873. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/connection.hpp +0 -412
  874. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -140
  875. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/base.hpp +0 -133
  876. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -714
  877. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -222
  878. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/base.hpp +0 -95
  879. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/connection.hpp +0 -286
  880. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -140
  881. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/uri.hpp +0 -356
  882. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utf8_validator.hpp +0 -154
  883. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utilities.hpp +0 -180
  884. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/version.hpp +0 -61
@@ -1,1402 +0,0 @@
1
- //
2
- // impl/spawn.hpp
3
- // ~~~~~~~~~~~~~~
4
- //
5
- // Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
- //
7
- // Distributed under the Boost Software License, Version 1.0. (See accompanying
8
- // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
- //
10
-
11
- #ifndef BOOST_ASIO_IMPL_SPAWN_HPP
12
- #define BOOST_ASIO_IMPL_SPAWN_HPP
13
-
14
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
- # pragma once
16
- #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
-
18
- #include <boost/asio/detail/config.hpp>
19
- #include <tuple>
20
- #include <boost/asio/associated_allocator.hpp>
21
- #include <boost/asio/associated_cancellation_slot.hpp>
22
- #include <boost/asio/associated_executor.hpp>
23
- #include <boost/asio/async_result.hpp>
24
- #include <boost/asio/bind_executor.hpp>
25
- #include <boost/asio/detail/atomic_count.hpp>
26
- #include <boost/asio/detail/bind_handler.hpp>
27
- #include <boost/asio/detail/handler_cont_helpers.hpp>
28
- #include <boost/asio/detail/memory.hpp>
29
- #include <boost/asio/detail/noncopyable.hpp>
30
- #include <boost/asio/detail/type_traits.hpp>
31
- #include <boost/asio/detail/utility.hpp>
32
- #include <boost/asio/error.hpp>
33
- #include <boost/system/system_error.hpp>
34
-
35
- #if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
36
- # include <boost/context/fiber.hpp>
37
- #endif // defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
38
-
39
- #include <boost/asio/detail/push_options.hpp>
40
-
41
- namespace boost {
42
- namespace asio {
43
- namespace detail {
44
-
45
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
46
- inline void spawned_thread_rethrow(void* ex)
47
- {
48
- if (*static_cast<exception_ptr*>(ex))
49
- rethrow_exception(*static_cast<exception_ptr*>(ex));
50
- }
51
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
52
-
53
- #if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
54
-
55
- // Spawned thread implementation using Boost.Coroutine.
56
- class spawned_coroutine_thread : public spawned_thread_base
57
- {
58
- public:
59
- #if defined(BOOST_COROUTINES_UNIDIRECT) || defined(BOOST_COROUTINES_V2)
60
- typedef boost::coroutines::pull_coroutine<void> callee_type;
61
- typedef boost::coroutines::push_coroutine<void> caller_type;
62
- #else
63
- typedef boost::coroutines::coroutine<void()> callee_type;
64
- typedef boost::coroutines::coroutine<void()> caller_type;
65
- #endif
66
-
67
- spawned_coroutine_thread(caller_type& caller)
68
- : caller_(caller),
69
- on_suspend_fn_(0),
70
- on_suspend_arg_(0)
71
- {
72
- }
73
-
74
- template <typename F>
75
- static spawned_thread_base* spawn(F&& f,
76
- const boost::coroutines::attributes& attributes,
77
- cancellation_slot parent_cancel_slot = cancellation_slot(),
78
- cancellation_state cancel_state = cancellation_state())
79
- {
80
- spawned_coroutine_thread* spawned_thread = 0;
81
- callee_type callee(entry_point<decay_t<F>>(
82
- static_cast<F&&>(f), &spawned_thread), attributes);
83
- spawned_thread->callee_.swap(callee);
84
- spawned_thread->parent_cancellation_slot_ = parent_cancel_slot;
85
- spawned_thread->cancellation_state_ = cancel_state;
86
- return spawned_thread;
87
- }
88
-
89
- template <typename F>
90
- static spawned_thread_base* spawn(F&& f,
91
- cancellation_slot parent_cancel_slot = cancellation_slot(),
92
- cancellation_state cancel_state = cancellation_state())
93
- {
94
- return spawn(static_cast<F&&>(f), boost::coroutines::attributes(),
95
- parent_cancel_slot, cancel_state);
96
- }
97
-
98
- void resume()
99
- {
100
- callee_();
101
- if (on_suspend_fn_)
102
- {
103
- void (*fn)(void*) = on_suspend_fn_;
104
- void* arg = on_suspend_arg_;
105
- on_suspend_fn_ = 0;
106
- fn(arg);
107
- }
108
- }
109
-
110
- void suspend_with(void (*fn)(void*), void* arg)
111
- {
112
- if (throw_if_cancelled_)
113
- if (!!cancellation_state_.cancelled())
114
- throw_error(boost::asio::error::operation_aborted, "yield");
115
- has_context_switched_ = true;
116
- on_suspend_fn_ = fn;
117
- on_suspend_arg_ = arg;
118
- caller_();
119
- }
120
-
121
- void destroy()
122
- {
123
- callee_type callee;
124
- callee.swap(callee_);
125
- if (terminal_)
126
- callee();
127
- }
128
-
129
- private:
130
- template <typename Function>
131
- class entry_point
132
- {
133
- public:
134
- template <typename F>
135
- entry_point(F&& f,
136
- spawned_coroutine_thread** spawned_thread_out)
137
- : function_(static_cast<F&&>(f)),
138
- spawned_thread_out_(spawned_thread_out)
139
- {
140
- }
141
-
142
- void operator()(caller_type& caller)
143
- {
144
- Function function(static_cast<Function&&>(function_));
145
- spawned_coroutine_thread spawned_thread(caller);
146
- *spawned_thread_out_ = &spawned_thread;
147
- spawned_thread_out_ = 0;
148
- spawned_thread.suspend();
149
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
150
- try
151
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
152
- {
153
- function(&spawned_thread);
154
- spawned_thread.terminal_ = true;
155
- spawned_thread.suspend();
156
- }
157
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
158
- catch (const boost::coroutines::detail::forced_unwind&)
159
- {
160
- throw;
161
- }
162
- catch (...)
163
- {
164
- exception_ptr ex = current_exception();
165
- spawned_thread.terminal_ = true;
166
- spawned_thread.suspend_with(spawned_thread_rethrow, &ex);
167
- }
168
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
169
- }
170
-
171
- private:
172
- Function function_;
173
- spawned_coroutine_thread** spawned_thread_out_;
174
- };
175
-
176
- caller_type& caller_;
177
- callee_type callee_;
178
- void (*on_suspend_fn_)(void*);
179
- void* on_suspend_arg_;
180
- };
181
-
182
- #endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
183
-
184
- #if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
185
-
186
- // Spawned thread implementation using Boost.Context's fiber.
187
- class spawned_fiber_thread : public spawned_thread_base
188
- {
189
- public:
190
- typedef boost::context::fiber fiber_type;
191
-
192
- spawned_fiber_thread(fiber_type&& caller)
193
- : caller_(static_cast<fiber_type&&>(caller)),
194
- on_suspend_fn_(0),
195
- on_suspend_arg_(0)
196
- {
197
- }
198
-
199
- template <typename StackAllocator, typename F>
200
- static spawned_thread_base* spawn(allocator_arg_t,
201
- StackAllocator&& stack_allocator,
202
- F&& f,
203
- cancellation_slot parent_cancel_slot = cancellation_slot(),
204
- cancellation_state cancel_state = cancellation_state())
205
- {
206
- spawned_fiber_thread* spawned_thread = 0;
207
- fiber_type callee(allocator_arg_t(),
208
- static_cast<StackAllocator&&>(stack_allocator),
209
- entry_point<decay_t<F>>(
210
- static_cast<F&&>(f), &spawned_thread));
211
- callee = fiber_type(static_cast<fiber_type&&>(callee)).resume();
212
- spawned_thread->callee_ = static_cast<fiber_type&&>(callee);
213
- spawned_thread->parent_cancellation_slot_ = parent_cancel_slot;
214
- spawned_thread->cancellation_state_ = cancel_state;
215
- return spawned_thread;
216
- }
217
-
218
- template <typename F>
219
- static spawned_thread_base* spawn(F&& f,
220
- cancellation_slot parent_cancel_slot = cancellation_slot(),
221
- cancellation_state cancel_state = cancellation_state())
222
- {
223
- return spawn(allocator_arg_t(), boost::context::fixedsize_stack(),
224
- static_cast<F&&>(f), parent_cancel_slot, cancel_state);
225
- }
226
-
227
- void resume()
228
- {
229
- callee_ = fiber_type(static_cast<fiber_type&&>(callee_)).resume();
230
- if (on_suspend_fn_)
231
- {
232
- void (*fn)(void*) = on_suspend_fn_;
233
- void* arg = on_suspend_arg_;
234
- on_suspend_fn_ = 0;
235
- fn(arg);
236
- }
237
- }
238
-
239
- void suspend_with(void (*fn)(void*), void* arg)
240
- {
241
- if (throw_if_cancelled_)
242
- if (!!cancellation_state_.cancelled())
243
- throw_error(boost::asio::error::operation_aborted, "yield");
244
- has_context_switched_ = true;
245
- on_suspend_fn_ = fn;
246
- on_suspend_arg_ = arg;
247
- caller_ = fiber_type(static_cast<fiber_type&&>(caller_)).resume();
248
- }
249
-
250
- void destroy()
251
- {
252
- fiber_type callee = static_cast<fiber_type&&>(callee_);
253
- if (terminal_)
254
- fiber_type(static_cast<fiber_type&&>(callee)).resume();
255
- }
256
-
257
- private:
258
- template <typename Function>
259
- class entry_point
260
- {
261
- public:
262
- template <typename F>
263
- entry_point(F&& f,
264
- spawned_fiber_thread** spawned_thread_out)
265
- : function_(static_cast<F&&>(f)),
266
- spawned_thread_out_(spawned_thread_out)
267
- {
268
- }
269
-
270
- fiber_type operator()(fiber_type&& caller)
271
- {
272
- Function function(static_cast<Function&&>(function_));
273
- spawned_fiber_thread spawned_thread(
274
- static_cast<fiber_type&&>(caller));
275
- *spawned_thread_out_ = &spawned_thread;
276
- spawned_thread_out_ = 0;
277
- spawned_thread.suspend();
278
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
279
- try
280
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
281
- {
282
- function(&spawned_thread);
283
- spawned_thread.terminal_ = true;
284
- spawned_thread.suspend();
285
- }
286
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
287
- catch (const boost::context::detail::forced_unwind&)
288
- {
289
- throw;
290
- }
291
- catch (...)
292
- {
293
- exception_ptr ex = current_exception();
294
- spawned_thread.terminal_ = true;
295
- spawned_thread.suspend_with(spawned_thread_rethrow, &ex);
296
- }
297
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
298
- return static_cast<fiber_type&&>(spawned_thread.caller_);
299
- }
300
-
301
- private:
302
- Function function_;
303
- spawned_fiber_thread** spawned_thread_out_;
304
- };
305
-
306
- fiber_type caller_;
307
- fiber_type callee_;
308
- void (*on_suspend_fn_)(void*);
309
- void* on_suspend_arg_;
310
- };
311
-
312
- #endif // defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
313
-
314
- #if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
315
- typedef spawned_fiber_thread default_spawned_thread_type;
316
- #elif defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
317
- typedef spawned_coroutine_thread default_spawned_thread_type;
318
- #else
319
- # error No spawn() implementation available
320
- #endif
321
-
322
- // Helper class to perform the initial resume on the correct executor.
323
- class spawned_thread_resumer
324
- {
325
- public:
326
- explicit spawned_thread_resumer(spawned_thread_base* spawned_thread)
327
- : spawned_thread_(spawned_thread)
328
- {
329
- }
330
-
331
- spawned_thread_resumer(spawned_thread_resumer&& other) noexcept
332
- : spawned_thread_(other.spawned_thread_)
333
- {
334
- other.spawned_thread_ = 0;
335
- }
336
-
337
- ~spawned_thread_resumer()
338
- {
339
- if (spawned_thread_)
340
- spawned_thread_->destroy();
341
- }
342
-
343
- void operator()()
344
- {
345
- spawned_thread_->attach(&spawned_thread_);
346
- spawned_thread_->resume();
347
- }
348
-
349
- private:
350
- spawned_thread_base* spawned_thread_;
351
- };
352
-
353
- // Helper class to ensure spawned threads are destroyed on the correct executor.
354
- class spawned_thread_destroyer
355
- {
356
- public:
357
- explicit spawned_thread_destroyer(spawned_thread_base* spawned_thread)
358
- : spawned_thread_(spawned_thread)
359
- {
360
- spawned_thread->detach();
361
- }
362
-
363
- spawned_thread_destroyer(spawned_thread_destroyer&& other) noexcept
364
- : spawned_thread_(other.spawned_thread_)
365
- {
366
- other.spawned_thread_ = 0;
367
- }
368
-
369
- ~spawned_thread_destroyer()
370
- {
371
- if (spawned_thread_)
372
- spawned_thread_->destroy();
373
- }
374
-
375
- void operator()()
376
- {
377
- if (spawned_thread_)
378
- {
379
- spawned_thread_->destroy();
380
- spawned_thread_ = 0;
381
- }
382
- }
383
-
384
- private:
385
- spawned_thread_base* spawned_thread_;
386
- };
387
-
388
- // Base class for all completion handlers associated with a spawned thread.
389
- template <typename Executor>
390
- class spawn_handler_base
391
- {
392
- public:
393
- typedef Executor executor_type;
394
- typedef cancellation_slot cancellation_slot_type;
395
-
396
- spawn_handler_base(const basic_yield_context<Executor>& yield)
397
- : yield_(yield),
398
- spawned_thread_(yield.spawned_thread_)
399
- {
400
- spawned_thread_->detach();
401
- }
402
-
403
- spawn_handler_base(spawn_handler_base&& other) noexcept
404
- : yield_(other.yield_),
405
- spawned_thread_(other.spawned_thread_)
406
-
407
- {
408
- other.spawned_thread_ = 0;
409
- }
410
-
411
- ~spawn_handler_base()
412
- {
413
- if (spawned_thread_)
414
- (post)(yield_.executor_, spawned_thread_destroyer(spawned_thread_));
415
- }
416
-
417
- executor_type get_executor() const noexcept
418
- {
419
- return yield_.executor_;
420
- }
421
-
422
- cancellation_slot_type get_cancellation_slot() const noexcept
423
- {
424
- return spawned_thread_->get_cancellation_slot();
425
- }
426
-
427
- void resume()
428
- {
429
- spawned_thread_resumer resumer(spawned_thread_);
430
- spawned_thread_ = 0;
431
- resumer();
432
- }
433
-
434
- protected:
435
- const basic_yield_context<Executor>& yield_;
436
- spawned_thread_base* spawned_thread_;
437
- };
438
-
439
- // Completion handlers for when basic_yield_context is used as a token.
440
- template <typename Executor, typename Signature>
441
- class spawn_handler;
442
-
443
- template <typename Executor, typename R>
444
- class spawn_handler<Executor, R()>
445
- : public spawn_handler_base<Executor>
446
- {
447
- public:
448
- typedef void return_type;
449
-
450
- struct result_type {};
451
-
452
- spawn_handler(const basic_yield_context<Executor>& yield, result_type&)
453
- : spawn_handler_base<Executor>(yield)
454
- {
455
- }
456
-
457
- void operator()()
458
- {
459
- this->resume();
460
- }
461
-
462
- static return_type on_resume(result_type&)
463
- {
464
- }
465
- };
466
-
467
- template <typename Executor, typename R>
468
- class spawn_handler<Executor, R(boost::system::error_code)>
469
- : public spawn_handler_base<Executor>
470
- {
471
- public:
472
- typedef void return_type;
473
- typedef boost::system::error_code* result_type;
474
-
475
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
476
- : spawn_handler_base<Executor>(yield),
477
- result_(result)
478
- {
479
- }
480
-
481
- void operator()(boost::system::error_code ec)
482
- {
483
- if (this->yield_.ec_)
484
- {
485
- *this->yield_.ec_ = ec;
486
- result_ = 0;
487
- }
488
- else
489
- result_ = &ec;
490
- this->resume();
491
- }
492
-
493
- static return_type on_resume(result_type& result)
494
- {
495
- if (result)
496
- throw_error(*result);
497
- }
498
-
499
- private:
500
- result_type& result_;
501
- };
502
-
503
- template <typename Executor, typename R>
504
- class spawn_handler<Executor, R(exception_ptr)>
505
- : public spawn_handler_base<Executor>
506
- {
507
- public:
508
- typedef void return_type;
509
- typedef exception_ptr* result_type;
510
-
511
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
512
- : spawn_handler_base<Executor>(yield),
513
- result_(result)
514
- {
515
- }
516
-
517
- void operator()(exception_ptr ex)
518
- {
519
- result_ = &ex;
520
- this->resume();
521
- }
522
-
523
- static return_type on_resume(result_type& result)
524
- {
525
- if (*result)
526
- rethrow_exception(*result);
527
- }
528
-
529
- private:
530
- result_type& result_;
531
- };
532
-
533
- template <typename Executor, typename R, typename T>
534
- class spawn_handler<Executor, R(T)>
535
- : public spawn_handler_base<Executor>
536
- {
537
- public:
538
- typedef T return_type;
539
- typedef return_type* result_type;
540
-
541
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
542
- : spawn_handler_base<Executor>(yield),
543
- result_(result)
544
- {
545
- }
546
-
547
- void operator()(T value)
548
- {
549
- result_ = &value;
550
- this->resume();
551
- }
552
-
553
- static return_type on_resume(result_type& result)
554
- {
555
- return static_cast<return_type&&>(*result);
556
- }
557
-
558
- private:
559
- result_type& result_;
560
- };
561
-
562
- template <typename Executor, typename R, typename T>
563
- class spawn_handler<Executor, R(boost::system::error_code, T)>
564
- : public spawn_handler_base<Executor>
565
- {
566
- public:
567
- typedef T return_type;
568
-
569
- struct result_type
570
- {
571
- boost::system::error_code* ec_;
572
- return_type* value_;
573
- };
574
-
575
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
576
- : spawn_handler_base<Executor>(yield),
577
- result_(result)
578
- {
579
- }
580
-
581
- void operator()(boost::system::error_code ec, T value)
582
- {
583
- if (this->yield_.ec_)
584
- {
585
- *this->yield_.ec_ = ec;
586
- result_.ec_ = 0;
587
- }
588
- else
589
- result_.ec_ = &ec;
590
- result_.value_ = &value;
591
- this->resume();
592
- }
593
-
594
- static return_type on_resume(result_type& result)
595
- {
596
- if (result.ec_)
597
- throw_error(*result.ec_);
598
- return static_cast<return_type&&>(*result.value_);
599
- }
600
-
601
- private:
602
- result_type& result_;
603
- };
604
-
605
- template <typename Executor, typename R, typename T>
606
- class spawn_handler<Executor, R(exception_ptr, T)>
607
- : public spawn_handler_base<Executor>
608
- {
609
- public:
610
- typedef T return_type;
611
-
612
- struct result_type
613
- {
614
- exception_ptr* ex_;
615
- return_type* value_;
616
- };
617
-
618
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
619
- : spawn_handler_base<Executor>(yield),
620
- result_(result)
621
- {
622
- }
623
-
624
- void operator()(exception_ptr ex, T value)
625
- {
626
- result_.ex_ = &ex;
627
- result_.value_ = &value;
628
- this->resume();
629
- }
630
-
631
- static return_type on_resume(result_type& result)
632
- {
633
- if (*result.ex_)
634
- rethrow_exception(*result.ex_);
635
- return static_cast<return_type&&>(*result.value_);
636
- }
637
-
638
- private:
639
- result_type& result_;
640
- };
641
-
642
- template <typename Executor, typename R, typename... Ts>
643
- class spawn_handler<Executor, R(Ts...)>
644
- : public spawn_handler_base<Executor>
645
- {
646
- public:
647
- typedef std::tuple<Ts...> return_type;
648
-
649
- typedef return_type* result_type;
650
-
651
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
652
- : spawn_handler_base<Executor>(yield),
653
- result_(result)
654
- {
655
- }
656
-
657
- template <typename... Args>
658
- void operator()(Args&&... args)
659
- {
660
- return_type value(static_cast<Args&&>(args)...);
661
- result_ = &value;
662
- this->resume();
663
- }
664
-
665
- static return_type on_resume(result_type& result)
666
- {
667
- return static_cast<return_type&&>(*result);
668
- }
669
-
670
- private:
671
- result_type& result_;
672
- };
673
-
674
- template <typename Executor, typename R, typename... Ts>
675
- class spawn_handler<Executor, R(boost::system::error_code, Ts...)>
676
- : public spawn_handler_base<Executor>
677
- {
678
- public:
679
- typedef std::tuple<Ts...> return_type;
680
-
681
- struct result_type
682
- {
683
- boost::system::error_code* ec_;
684
- return_type* value_;
685
- };
686
-
687
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
688
- : spawn_handler_base<Executor>(yield),
689
- result_(result)
690
- {
691
- }
692
-
693
- template <typename... Args>
694
- void operator()(boost::system::error_code ec,
695
- Args&&... args)
696
- {
697
- return_type value(static_cast<Args&&>(args)...);
698
- if (this->yield_.ec_)
699
- {
700
- *this->yield_.ec_ = ec;
701
- result_.ec_ = 0;
702
- }
703
- else
704
- result_.ec_ = &ec;
705
- result_.value_ = &value;
706
- this->resume();
707
- }
708
-
709
- static return_type on_resume(result_type& result)
710
- {
711
- if (result.ec_)
712
- throw_error(*result.ec_);
713
- return static_cast<return_type&&>(*result.value_);
714
- }
715
-
716
- private:
717
- result_type& result_;
718
- };
719
-
720
- template <typename Executor, typename R, typename... Ts>
721
- class spawn_handler<Executor, R(exception_ptr, Ts...)>
722
- : public spawn_handler_base<Executor>
723
- {
724
- public:
725
- typedef std::tuple<Ts...> return_type;
726
-
727
- struct result_type
728
- {
729
- exception_ptr* ex_;
730
- return_type* value_;
731
- };
732
-
733
- spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
734
- : spawn_handler_base<Executor>(yield),
735
- result_(result)
736
- {
737
- }
738
-
739
- template <typename... Args>
740
- void operator()(exception_ptr ex, Args&&... args)
741
- {
742
- return_type value(static_cast<Args&&>(args)...);
743
- result_.ex_ = &ex;
744
- result_.value_ = &value;
745
- this->resume();
746
- }
747
-
748
- static return_type on_resume(result_type& result)
749
- {
750
- if (*result.ex_)
751
- rethrow_exception(*result.ex_);
752
- return static_cast<return_type&&>(*result.value_);
753
- }
754
-
755
- private:
756
- result_type& result_;
757
- };
758
-
759
- template <typename Executor, typename Signature>
760
- inline bool asio_handler_is_continuation(spawn_handler<Executor, Signature>*)
761
- {
762
- return true;
763
- }
764
-
765
- } // namespace detail
766
-
767
- template <typename Executor, typename Signature>
768
- class async_result<basic_yield_context<Executor>, Signature>
769
- {
770
- public:
771
- typedef typename detail::spawn_handler<Executor, Signature> handler_type;
772
- typedef typename handler_type::return_type return_type;
773
-
774
- #if defined(BOOST_ASIO_HAS_VARIADIC_LAMBDA_CAPTURES)
775
-
776
- template <typename Initiation, typename... InitArgs>
777
- static return_type initiate(Initiation&& init,
778
- const basic_yield_context<Executor>& yield,
779
- InitArgs&&... init_args)
780
- {
781
- typename handler_type::result_type result
782
- = typename handler_type::result_type();
783
-
784
- yield.spawned_thread_->suspend_with(
785
- [&]()
786
- {
787
- static_cast<Initiation&&>(init)(
788
- handler_type(yield, result),
789
- static_cast<InitArgs&&>(init_args)...);
790
- });
791
-
792
- return handler_type::on_resume(result);
793
- }
794
-
795
- #else // defined(BOOST_ASIO_HAS_VARIADIC_LAMBDA_CAPTURES)
796
-
797
- template <typename Initiation, typename... InitArgs>
798
- struct suspend_with_helper
799
- {
800
- typename handler_type::result_type& result_;
801
- Initiation&& init_;
802
- const basic_yield_context<Executor>& yield_;
803
- std::tuple<InitArgs&&...> init_args_;
804
-
805
- template <std::size_t... I>
806
- void do_invoke(detail::index_sequence<I...>)
807
- {
808
- static_cast<Initiation&&>(init_)(
809
- handler_type(yield_, result_),
810
- static_cast<InitArgs&&>(std::get<I>(init_args_))...);
811
- }
812
-
813
- void operator()()
814
- {
815
- this->do_invoke(detail::make_index_sequence<sizeof...(InitArgs)>());
816
- }
817
- };
818
-
819
- template <typename Initiation, typename... InitArgs>
820
- static return_type initiate(Initiation&& init,
821
- const basic_yield_context<Executor>& yield,
822
- InitArgs&&... init_args)
823
- {
824
- typename handler_type::result_type result
825
- = typename handler_type::result_type();
826
-
827
- yield.spawned_thread_->suspend_with(
828
- suspend_with_helper<Initiation, InitArgs...>{
829
- result, static_cast<Initiation&&>(init), yield,
830
- std::tuple<InitArgs&&...>(
831
- static_cast<InitArgs&&>(init_args)...)});
832
-
833
- return handler_type::on_resume(result);
834
- }
835
-
836
- #endif // defined(BOOST_ASIO_HAS_VARIADIC_LAMBDA_CAPTURES)
837
- };
838
-
839
- namespace detail {
840
-
841
- template <typename Executor, typename Function, typename Handler>
842
- class spawn_entry_point
843
- {
844
- public:
845
- template <typename F, typename H>
846
- spawn_entry_point(const Executor& ex,
847
- F&& f, H&& h)
848
- : executor_(ex),
849
- function_(static_cast<F&&>(f)),
850
- handler_(static_cast<H&&>(h)),
851
- work_(handler_, executor_)
852
- {
853
- }
854
-
855
- void operator()(spawned_thread_base* spawned_thread)
856
- {
857
- const basic_yield_context<Executor> yield(spawned_thread, executor_);
858
- this->call(yield,
859
- void_type<result_of_t<Function(basic_yield_context<Executor>)>>());
860
- }
861
-
862
- private:
863
- void call(const basic_yield_context<Executor>& yield, void_type<void>)
864
- {
865
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
866
- try
867
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
868
- {
869
- function_(yield);
870
- if (!yield.spawned_thread_->has_context_switched())
871
- (post)(yield);
872
- detail::binder1<Handler, exception_ptr>
873
- handler(handler_, exception_ptr());
874
- work_.complete(handler, handler.handler_);
875
- }
876
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
877
- # if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
878
- catch (const boost::context::detail::forced_unwind&)
879
- {
880
- throw;
881
- }
882
- # endif // defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
883
- # if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
884
- catch (const boost::coroutines::detail::forced_unwind&)
885
- {
886
- throw;
887
- }
888
- # endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
889
- catch (...)
890
- {
891
- exception_ptr ex = current_exception();
892
- if (!yield.spawned_thread_->has_context_switched())
893
- (post)(yield);
894
- detail::binder1<Handler, exception_ptr> handler(handler_, ex);
895
- work_.complete(handler, handler.handler_);
896
- }
897
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
898
- }
899
-
900
- template <typename T>
901
- void call(const basic_yield_context<Executor>& yield, void_type<T>)
902
- {
903
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
904
- try
905
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
906
- {
907
- T result(function_(yield));
908
- if (!yield.spawned_thread_->has_context_switched())
909
- (post)(yield);
910
- detail::binder2<Handler, exception_ptr, T>
911
- handler(handler_, exception_ptr(), static_cast<T&&>(result));
912
- work_.complete(handler, handler.handler_);
913
- }
914
- #if !defined(BOOST_ASIO_NO_EXCEPTIONS)
915
- # if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
916
- catch (const boost::context::detail::forced_unwind&)
917
- {
918
- throw;
919
- }
920
- # endif // defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
921
- # if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
922
- catch (const boost::coroutines::detail::forced_unwind&)
923
- {
924
- throw;
925
- }
926
- # endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
927
- catch (...)
928
- {
929
- exception_ptr ex = current_exception();
930
- if (!yield.spawned_thread_->has_context_switched())
931
- (post)(yield);
932
- detail::binder2<Handler, exception_ptr, T> handler(handler_, ex, T());
933
- work_.complete(handler, handler.handler_);
934
- }
935
- #endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
936
- }
937
-
938
- Executor executor_;
939
- Function function_;
940
- Handler handler_;
941
- handler_work<Handler, Executor> work_;
942
- };
943
-
944
- struct spawn_cancellation_signal_emitter
945
- {
946
- cancellation_signal* signal_;
947
- cancellation_type_t type_;
948
-
949
- void operator()()
950
- {
951
- signal_->emit(type_);
952
- }
953
- };
954
-
955
- template <typename Handler, typename Executor, typename = void>
956
- class spawn_cancellation_handler
957
- {
958
- public:
959
- spawn_cancellation_handler(const Handler&, const Executor& ex)
960
- : ex_(ex)
961
- {
962
- }
963
-
964
- cancellation_slot slot()
965
- {
966
- return signal_.slot();
967
- }
968
-
969
- void operator()(cancellation_type_t type)
970
- {
971
- spawn_cancellation_signal_emitter emitter = { &signal_, type };
972
- (dispatch)(ex_, emitter);
973
- }
974
-
975
- private:
976
- cancellation_signal signal_;
977
- Executor ex_;
978
- };
979
-
980
- template <typename Handler, typename Executor>
981
- class spawn_cancellation_handler<Handler, Executor,
982
- enable_if_t<
983
- is_same<
984
- typename associated_executor<Handler,
985
- Executor>::asio_associated_executor_is_unspecialised,
986
- void
987
- >::value
988
- >>
989
- {
990
- public:
991
- spawn_cancellation_handler(const Handler&, const Executor&)
992
- {
993
- }
994
-
995
- cancellation_slot slot()
996
- {
997
- return signal_.slot();
998
- }
999
-
1000
- void operator()(cancellation_type_t type)
1001
- {
1002
- signal_.emit(type);
1003
- }
1004
-
1005
- private:
1006
- cancellation_signal signal_;
1007
- };
1008
-
1009
- template <typename Executor>
1010
- class initiate_spawn
1011
- {
1012
- public:
1013
- typedef Executor executor_type;
1014
-
1015
- explicit initiate_spawn(const executor_type& ex)
1016
- : executor_(ex)
1017
- {
1018
- }
1019
-
1020
- executor_type get_executor() const noexcept
1021
- {
1022
- return executor_;
1023
- }
1024
-
1025
- template <typename Handler, typename F>
1026
- void operator()(Handler&& handler,
1027
- F&& f) const
1028
- {
1029
- typedef decay_t<Handler> handler_type;
1030
- typedef decay_t<F> function_type;
1031
- typedef spawn_cancellation_handler<
1032
- handler_type, Executor> cancel_handler_type;
1033
-
1034
- associated_cancellation_slot_t<handler_type> slot
1035
- = boost::asio::get_associated_cancellation_slot(handler);
1036
-
1037
- cancel_handler_type* cancel_handler = slot.is_connected()
1038
- ? &slot.template emplace<cancel_handler_type>(handler, executor_)
1039
- : 0;
1040
-
1041
- cancellation_slot proxy_slot(
1042
- cancel_handler
1043
- ? cancel_handler->slot()
1044
- : cancellation_slot());
1045
-
1046
- cancellation_state cancel_state(proxy_slot);
1047
-
1048
- (dispatch)(executor_,
1049
- spawned_thread_resumer(
1050
- default_spawned_thread_type::spawn(
1051
- spawn_entry_point<Executor, function_type, handler_type>(
1052
- executor_, static_cast<F&&>(f),
1053
- static_cast<Handler&&>(handler)),
1054
- proxy_slot, cancel_state)));
1055
- }
1056
-
1057
- #if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
1058
-
1059
- template <typename Handler, typename StackAllocator, typename F>
1060
- void operator()(Handler&& handler, allocator_arg_t,
1061
- StackAllocator&& stack_allocator,
1062
- F&& f) const
1063
- {
1064
- typedef decay_t<Handler> handler_type;
1065
- typedef decay_t<F> function_type;
1066
- typedef spawn_cancellation_handler<
1067
- handler_type, Executor> cancel_handler_type;
1068
-
1069
- associated_cancellation_slot_t<handler_type> slot
1070
- = boost::asio::get_associated_cancellation_slot(handler);
1071
-
1072
- cancel_handler_type* cancel_handler = slot.is_connected()
1073
- ? &slot.template emplace<cancel_handler_type>(handler, executor_)
1074
- : 0;
1075
-
1076
- cancellation_slot proxy_slot(
1077
- cancel_handler
1078
- ? cancel_handler->slot()
1079
- : cancellation_slot());
1080
-
1081
- cancellation_state cancel_state(proxy_slot);
1082
-
1083
- (dispatch)(executor_,
1084
- spawned_thread_resumer(
1085
- spawned_fiber_thread::spawn(allocator_arg_t(),
1086
- static_cast<StackAllocator&&>(stack_allocator),
1087
- spawn_entry_point<Executor, function_type, handler_type>(
1088
- executor_, static_cast<F&&>(f),
1089
- static_cast<Handler&&>(handler)),
1090
- proxy_slot, cancel_state)));
1091
- }
1092
-
1093
- #endif // defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
1094
-
1095
- private:
1096
- executor_type executor_;
1097
- };
1098
-
1099
- } // namespace detail
1100
-
1101
- template <typename Executor, typename F,
1102
- BOOST_ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
1103
- result_of_t<F(basic_yield_context<Executor>)>>::type) CompletionToken>
1104
- inline auto spawn(const Executor& ex, F&& function, CompletionToken&& token,
1105
- #if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1106
- constraint_t<
1107
- !is_same<
1108
- decay_t<CompletionToken>,
1109
- boost::coroutines::attributes
1110
- >::value
1111
- >,
1112
- #endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1113
- constraint_t<
1114
- is_executor<Executor>::value || execution::is_executor<Executor>::value
1115
- >)
1116
- -> decltype(
1117
- async_initiate<CompletionToken,
1118
- typename detail::spawn_signature<
1119
- result_of_t<F(basic_yield_context<Executor>)>>::type>(
1120
- declval<detail::initiate_spawn<Executor>>(),
1121
- token, static_cast<F&&>(function)))
1122
- {
1123
- return async_initiate<CompletionToken,
1124
- typename detail::spawn_signature<
1125
- result_of_t<F(basic_yield_context<Executor>)>>::type>(
1126
- detail::initiate_spawn<Executor>(ex),
1127
- token, static_cast<F&&>(function));
1128
- }
1129
-
1130
- template <typename ExecutionContext, typename F,
1131
- BOOST_ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
1132
- result_of_t<F(basic_yield_context<
1133
- typename ExecutionContext::executor_type>)>>::type) CompletionToken>
1134
- inline auto spawn(ExecutionContext& ctx, F&& function, CompletionToken&& token,
1135
- #if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1136
- constraint_t<
1137
- !is_same<
1138
- decay_t<CompletionToken>,
1139
- boost::coroutines::attributes
1140
- >::value
1141
- >,
1142
- #endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1143
- constraint_t<
1144
- is_convertible<ExecutionContext&, execution_context&>::value
1145
- >)
1146
- -> decltype(
1147
- async_initiate<CompletionToken,
1148
- typename detail::spawn_signature<
1149
- result_of_t<F(basic_yield_context<
1150
- typename ExecutionContext::executor_type>)>>::type>(
1151
- declval<detail::initiate_spawn<
1152
- typename ExecutionContext::executor_type>>(),
1153
- token, static_cast<F&&>(function)))
1154
- {
1155
- return (spawn)(ctx.get_executor(), static_cast<F&&>(function),
1156
- static_cast<CompletionToken&&>(token));
1157
- }
1158
-
1159
- template <typename Executor, typename F,
1160
- BOOST_ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
1161
- result_of_t<F(basic_yield_context<Executor>)>>::type)
1162
- CompletionToken>
1163
- inline auto spawn(const basic_yield_context<Executor>& ctx,
1164
- F&& function, CompletionToken&& token,
1165
- #if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1166
- constraint_t<
1167
- !is_same<
1168
- decay_t<CompletionToken>,
1169
- boost::coroutines::attributes
1170
- >::value
1171
- >,
1172
- #endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1173
- constraint_t<
1174
- is_executor<Executor>::value || execution::is_executor<Executor>::value
1175
- >)
1176
- -> decltype(
1177
- async_initiate<CompletionToken,
1178
- typename detail::spawn_signature<
1179
- result_of_t<F(basic_yield_context<Executor>)>>::type>(
1180
- declval<detail::initiate_spawn<Executor>>(),
1181
- token, static_cast<F&&>(function)))
1182
- {
1183
- return (spawn)(ctx.get_executor(), static_cast<F&&>(function),
1184
- static_cast<CompletionToken&&>(token));
1185
- }
1186
-
1187
- #if defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
1188
-
1189
- template <typename Executor, typename StackAllocator, typename F,
1190
- BOOST_ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
1191
- result_of_t<F(basic_yield_context<Executor>)>>::type)
1192
- CompletionToken>
1193
- inline auto spawn(const Executor& ex, allocator_arg_t,
1194
- StackAllocator&& stack_allocator, F&& function, CompletionToken&& token,
1195
- constraint_t<
1196
- is_executor<Executor>::value || execution::is_executor<Executor>::value
1197
- >)
1198
- -> decltype(
1199
- async_initiate<CompletionToken,
1200
- typename detail::spawn_signature<
1201
- result_of_t<F(basic_yield_context<Executor>)>>::type>(
1202
- declval<detail::initiate_spawn<Executor>>(),
1203
- token, allocator_arg_t(),
1204
- static_cast<StackAllocator&&>(stack_allocator),
1205
- static_cast<F&&>(function)))
1206
- {
1207
- return async_initiate<CompletionToken,
1208
- typename detail::spawn_signature<
1209
- result_of_t<F(basic_yield_context<Executor>)>>::type>(
1210
- detail::initiate_spawn<Executor>(ex), token, allocator_arg_t(),
1211
- static_cast<StackAllocator&&>(stack_allocator),
1212
- static_cast<F&&>(function));
1213
- }
1214
-
1215
- template <typename ExecutionContext, typename StackAllocator, typename F,
1216
- BOOST_ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
1217
- result_of_t<F(basic_yield_context<
1218
- typename ExecutionContext::executor_type>)>>::type) CompletionToken>
1219
- inline auto spawn(ExecutionContext& ctx, allocator_arg_t,
1220
- StackAllocator&& stack_allocator, F&& function, CompletionToken&& token,
1221
- constraint_t<
1222
- is_convertible<ExecutionContext&, execution_context&>::value
1223
- >)
1224
- -> decltype(
1225
- async_initiate<CompletionToken,
1226
- typename detail::spawn_signature<
1227
- result_of_t<F(basic_yield_context<
1228
- typename ExecutionContext::executor_type>)>>::type>(
1229
- declval<detail::initiate_spawn<
1230
- typename ExecutionContext::executor_type>>(),
1231
- token, allocator_arg_t(),
1232
- static_cast<StackAllocator&&>(stack_allocator),
1233
- static_cast<F&&>(function)))
1234
- {
1235
- return (spawn)(ctx.get_executor(), allocator_arg_t(),
1236
- static_cast<StackAllocator&&>(stack_allocator),
1237
- static_cast<F&&>(function), static_cast<CompletionToken&&>(token));
1238
- }
1239
-
1240
- template <typename Executor, typename StackAllocator, typename F,
1241
- BOOST_ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
1242
- result_of_t<F(basic_yield_context<Executor>)>>::type) CompletionToken>
1243
- inline auto spawn(const basic_yield_context<Executor>& ctx, allocator_arg_t,
1244
- StackAllocator&& stack_allocator, F&& function, CompletionToken&& token,
1245
- constraint_t<
1246
- is_executor<Executor>::value || execution::is_executor<Executor>::value
1247
- >)
1248
- -> decltype(
1249
- async_initiate<CompletionToken,
1250
- typename detail::spawn_signature<
1251
- result_of_t<F(basic_yield_context<Executor>)>>::type>(
1252
- declval<detail::initiate_spawn<Executor>>(), token,
1253
- allocator_arg_t(), static_cast<StackAllocator&&>(stack_allocator),
1254
- static_cast<F&&>(function)))
1255
- {
1256
- return (spawn)(ctx.get_executor(), allocator_arg_t(),
1257
- static_cast<StackAllocator&&>(stack_allocator),
1258
- static_cast<F&&>(function), static_cast<CompletionToken&&>(token));
1259
- }
1260
-
1261
- #endif // defined(BOOST_ASIO_HAS_BOOST_CONTEXT_FIBER)
1262
-
1263
- #if defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1264
-
1265
- namespace detail {
1266
-
1267
- template <typename Executor, typename Function, typename Handler>
1268
- class old_spawn_entry_point
1269
- {
1270
- public:
1271
- template <typename F, typename H>
1272
- old_spawn_entry_point(const Executor& ex, F&& f, H&& h)
1273
- : executor_(ex),
1274
- function_(static_cast<F&&>(f)),
1275
- handler_(static_cast<H&&>(h))
1276
- {
1277
- }
1278
-
1279
- void operator()(spawned_thread_base* spawned_thread)
1280
- {
1281
- const basic_yield_context<Executor> yield(spawned_thread, executor_);
1282
- this->call(yield,
1283
- void_type<result_of_t<Function(basic_yield_context<Executor>)>>());
1284
- }
1285
-
1286
- private:
1287
- void call(const basic_yield_context<Executor>& yield, void_type<void>)
1288
- {
1289
- function_(yield);
1290
- static_cast<Handler&&>(handler_)();
1291
- }
1292
-
1293
- template <typename T>
1294
- void call(const basic_yield_context<Executor>& yield, void_type<T>)
1295
- {
1296
- static_cast<Handler&&>(handler_)(function_(yield));
1297
- }
1298
-
1299
- Executor executor_;
1300
- Function function_;
1301
- Handler handler_;
1302
- };
1303
-
1304
- inline void default_spawn_handler() {}
1305
-
1306
- } // namespace detail
1307
-
1308
- template <typename Function>
1309
- inline void spawn(Function&& function,
1310
- const boost::coroutines::attributes& attributes)
1311
- {
1312
- associated_executor_t<decay_t<Function>> ex(
1313
- (get_associated_executor)(function));
1314
-
1315
- boost::asio::spawn(ex, static_cast<Function&&>(function), attributes);
1316
- }
1317
-
1318
- template <typename Handler, typename Function>
1319
- void spawn(Handler&& handler, Function&& function,
1320
- const boost::coroutines::attributes& attributes,
1321
- constraint_t<
1322
- !is_executor<decay_t<Handler>>::value &&
1323
- !execution::is_executor<decay_t<Handler>>::value &&
1324
- !is_convertible<Handler&, execution_context&>::value>)
1325
- {
1326
- typedef associated_executor_t<decay_t<Handler>> executor_type;
1327
- executor_type ex((get_associated_executor)(handler));
1328
-
1329
- (dispatch)(ex,
1330
- detail::spawned_thread_resumer(
1331
- detail::spawned_coroutine_thread::spawn(
1332
- detail::old_spawn_entry_point<executor_type,
1333
- decay_t<Function>, void (*)()>(
1334
- ex, static_cast<Function&&>(function),
1335
- &detail::default_spawn_handler), attributes)));
1336
- }
1337
-
1338
- template <typename Executor, typename Function>
1339
- void spawn(basic_yield_context<Executor> ctx, Function&& function,
1340
- const boost::coroutines::attributes& attributes)
1341
- {
1342
- (dispatch)(ctx.get_executor(),
1343
- detail::spawned_thread_resumer(
1344
- detail::spawned_coroutine_thread::spawn(
1345
- detail::old_spawn_entry_point<Executor,
1346
- decay_t<Function>, void (*)()>(
1347
- ctx.get_executor(), static_cast<Function&&>(function),
1348
- &detail::default_spawn_handler), attributes)));
1349
- }
1350
-
1351
- template <typename Function, typename Executor>
1352
- inline void spawn(const Executor& ex, Function&& function,
1353
- const boost::coroutines::attributes& attributes,
1354
- constraint_t<
1355
- is_executor<Executor>::value || execution::is_executor<Executor>::value
1356
- >)
1357
- {
1358
- boost::asio::spawn(boost::asio::strand<Executor>(ex),
1359
- static_cast<Function&&>(function), attributes);
1360
- }
1361
-
1362
- template <typename Function, typename Executor>
1363
- inline void spawn(const strand<Executor>& ex, Function&& function,
1364
- const boost::coroutines::attributes& attributes)
1365
- {
1366
- boost::asio::spawn(boost::asio::bind_executor(
1367
- ex, &detail::default_spawn_handler),
1368
- static_cast<Function&&>(function), attributes);
1369
- }
1370
-
1371
- #if !defined(BOOST_ASIO_NO_TS_EXECUTORS)
1372
-
1373
- template <typename Function>
1374
- inline void spawn(const boost::asio::io_context::strand& s, Function&& function,
1375
- const boost::coroutines::attributes& attributes)
1376
- {
1377
- boost::asio::spawn(boost::asio::bind_executor(
1378
- s, &detail::default_spawn_handler),
1379
- static_cast<Function&&>(function), attributes);
1380
- }
1381
-
1382
- #endif // !defined(BOOST_ASIO_NO_TS_EXECUTORS)
1383
-
1384
- template <typename Function, typename ExecutionContext>
1385
- inline void spawn(ExecutionContext& ctx, Function&& function,
1386
- const boost::coroutines::attributes& attributes,
1387
- constraint_t<
1388
- is_convertible<ExecutionContext&, execution_context&>::value
1389
- >)
1390
- {
1391
- boost::asio::spawn(ctx.get_executor(),
1392
- static_cast<Function&&>(function), attributes);
1393
- }
1394
-
1395
- #endif // defined(BOOST_ASIO_HAS_BOOST_COROUTINE)
1396
-
1397
- } // namespace asio
1398
- } // namespace boost
1399
-
1400
- #include <boost/asio/detail/pop_options.hpp>
1401
-
1402
- #endif // BOOST_ASIO_IMPL_SPAWN_HPP