couchbase 3.0.1-universal-darwin-19 → 3.0.2-universal-darwin-19
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.
- checksums.yaml +4 -4
- data/README.md +73 -4
- data/ext/extconf.rb +0 -95
- data/lib/couchbase.rb +1 -0
- data/lib/couchbase/analytics_options.rb +1 -71
- data/lib/couchbase/binary_collection.rb +60 -22
- data/lib/couchbase/binary_collection_options.rb +0 -76
- data/lib/couchbase/bucket.rb +40 -36
- data/lib/couchbase/cluster.rb +89 -156
- data/lib/couchbase/collection.rb +290 -72
- data/lib/couchbase/collection_options.rb +30 -243
- data/lib/couchbase/datastructures/couchbase_list.rb +5 -16
- data/lib/couchbase/datastructures/couchbase_map.rb +5 -16
- data/lib/couchbase/datastructures/couchbase_queue.rb +5 -16
- data/lib/couchbase/datastructures/couchbase_set.rb +5 -16
- data/lib/couchbase/diagnostics.rb +181 -0
- data/lib/couchbase/json_transcoder.rb +1 -1
- data/lib/couchbase/libcouchbase.bundle +0 -0
- data/lib/couchbase/{common_options.rb → logger.rb} +24 -11
- data/lib/couchbase/management/query_index_manager.rb +1 -1
- data/lib/couchbase/management/user_manager.rb +3 -0
- data/lib/couchbase/options.rb +2094 -0
- data/lib/couchbase/query_options.rb +1 -144
- data/lib/couchbase/scope.rb +8 -25
- data/lib/couchbase/search_options.rb +0 -93
- data/lib/couchbase/version.rb +20 -1
- data/lib/couchbase/view_options.rb +1 -91
- metadata +8 -1296
- data/ext/CMakeLists.txt +0 -127
- data/ext/LICENSE.txt +0 -202
- data/ext/build_config.hxx.in +0 -20
- data/ext/build_version.hxx.in +0 -27
- data/ext/cmake/Backtrace.cmake +0 -35
- data/ext/cmake/BuildTracing.cmake +0 -6
- data/ext/cmake/Cache.cmake +0 -29
- data/ext/cmake/CompilerWarnings.cmake +0 -78
- data/ext/cmake/PreventInSourceBuilds.cmake +0 -18
- data/ext/cmake/Sanitizers.cmake +0 -66
- data/ext/cmake/StandardProjectSettings.cmake +0 -40
- data/ext/cmake/StaticAnalyzers.cmake +0 -37
- data/ext/cmake/Testing.cmake +0 -52
- data/ext/cmake/ThirdPartyDependencies.cmake +0 -20
- data/ext/cmake/VersionInfo.cmake +0 -37
- data/ext/couchbase/bucket.hxx +0 -338
- data/ext/couchbase/capabilities.hxx +0 -117
- data/ext/couchbase/cbcrypto/cbcrypto.cc +0 -888
- data/ext/couchbase/cbcrypto/cbcrypto.h +0 -89
- data/ext/couchbase/cbsasl/client.cc +0 -48
- data/ext/couchbase/cbsasl/client.h +0 -127
- data/ext/couchbase/cbsasl/context.cc +0 -33
- data/ext/couchbase/cbsasl/context.h +0 -52
- data/ext/couchbase/cbsasl/error.h +0 -72
- data/ext/couchbase/cbsasl/mechanism.cc +0 -48
- data/ext/couchbase/cbsasl/mechanism.h +0 -55
- data/ext/couchbase/cbsasl/plain/plain.cc +0 -36
- data/ext/couchbase/cbsasl/plain/plain.h +0 -53
- data/ext/couchbase/cbsasl/scram-sha/scram-sha.cc +0 -390
- data/ext/couchbase/cbsasl/scram-sha/scram-sha.h +0 -185
- data/ext/couchbase/cbsasl/scram-sha/stringutils.cc +0 -81
- data/ext/couchbase/cbsasl/scram-sha/stringutils.h +0 -48
- data/ext/couchbase/cluster.hxx +0 -267
- data/ext/couchbase/cluster_options.hxx +0 -54
- data/ext/couchbase/collections_manifest.hxx +0 -88
- data/ext/couchbase/configuration.hxx +0 -650
- data/ext/couchbase/couchbase.cxx +0 -6431
- data/ext/couchbase/diagnostics.hxx +0 -251
- data/ext/couchbase/document_id.hxx +0 -40
- data/ext/couchbase/error_map.hxx +0 -261
- data/ext/couchbase/errors.hxx +0 -706
- data/ext/couchbase/io/dns_client.hxx +0 -217
- data/ext/couchbase/io/dns_codec.hxx +0 -207
- data/ext/couchbase/io/dns_config.hxx +0 -116
- data/ext/couchbase/io/dns_message.hxx +0 -555
- data/ext/couchbase/io/http_command.hxx +0 -95
- data/ext/couchbase/io/http_context.hxx +0 -37
- data/ext/couchbase/io/http_message.hxx +0 -47
- data/ext/couchbase/io/http_parser.hxx +0 -176
- data/ext/couchbase/io/http_session.hxx +0 -442
- data/ext/couchbase/io/http_session_manager.hxx +0 -182
- data/ext/couchbase/io/mcbp_command.hxx +0 -246
- data/ext/couchbase/io/mcbp_message.hxx +0 -63
- data/ext/couchbase/io/mcbp_parser.hxx +0 -101
- data/ext/couchbase/io/mcbp_session.hxx +0 -1283
- data/ext/couchbase/io/query_cache.hxx +0 -61
- data/ext/couchbase/io/retry_action.hxx +0 -30
- data/ext/couchbase/io/retry_context.hxx +0 -38
- data/ext/couchbase/io/retry_orchestrator.hxx +0 -112
- data/ext/couchbase/io/retry_reason.hxx +0 -235
- data/ext/couchbase/io/retry_strategy.hxx +0 -156
- data/ext/couchbase/io/streams.hxx +0 -216
- data/ext/couchbase/mutation_token.hxx +0 -38
- data/ext/couchbase/operations.hxx +0 -104
- data/ext/couchbase/operations/analytics_dataset_create.hxx +0 -117
- data/ext/couchbase/operations/analytics_dataset_drop.hxx +0 -103
- data/ext/couchbase/operations/analytics_dataset_get_all.hxx +0 -107
- data/ext/couchbase/operations/analytics_dataverse_create.hxx +0 -104
- data/ext/couchbase/operations/analytics_dataverse_drop.hxx +0 -104
- data/ext/couchbase/operations/analytics_get_pending_mutations.hxx +0 -91
- data/ext/couchbase/operations/analytics_index_create.hxx +0 -128
- data/ext/couchbase/operations/analytics_index_drop.hxx +0 -110
- data/ext/couchbase/operations/analytics_index_get_all.hxx +0 -106
- data/ext/couchbase/operations/analytics_link_connect.hxx +0 -102
- data/ext/couchbase/operations/analytics_link_disconnect.hxx +0 -101
- data/ext/couchbase/operations/bucket_create.hxx +0 -147
- data/ext/couchbase/operations/bucket_drop.hxx +0 -68
- data/ext/couchbase/operations/bucket_flush.hxx +0 -68
- data/ext/couchbase/operations/bucket_get.hxx +0 -72
- data/ext/couchbase/operations/bucket_get_all.hxx +0 -65
- data/ext/couchbase/operations/bucket_settings.hxx +0 -150
- data/ext/couchbase/operations/bucket_update.hxx +0 -124
- data/ext/couchbase/operations/cluster_developer_preview_enable.hxx +0 -63
- data/ext/couchbase/operations/collection_create.hxx +0 -95
- data/ext/couchbase/operations/collection_drop.hxx +0 -85
- data/ext/couchbase/operations/collections_manifest_get.hxx +0 -70
- data/ext/couchbase/operations/design_document.hxx +0 -59
- data/ext/couchbase/operations/document_analytics.hxx +0 -293
- data/ext/couchbase/operations/document_decrement.hxx +0 -87
- data/ext/couchbase/operations/document_exists.hxx +0 -84
- data/ext/couchbase/operations/document_get.hxx +0 -69
- data/ext/couchbase/operations/document_get_and_lock.hxx +0 -71
- data/ext/couchbase/operations/document_get_and_touch.hxx +0 -71
- data/ext/couchbase/operations/document_get_projected.hxx +0 -249
- data/ext/couchbase/operations/document_increment.hxx +0 -89
- data/ext/couchbase/operations/document_insert.hxx +0 -81
- data/ext/couchbase/operations/document_lookup_in.hxx +0 -111
- data/ext/couchbase/operations/document_mutate_in.hxx +0 -145
- data/ext/couchbase/operations/document_query.hxx +0 -422
- data/ext/couchbase/operations/document_remove.hxx +0 -74
- data/ext/couchbase/operations/document_replace.hxx +0 -83
- data/ext/couchbase/operations/document_search.hxx +0 -370
- data/ext/couchbase/operations/document_touch.hxx +0 -67
- data/ext/couchbase/operations/document_unlock.hxx +0 -67
- data/ext/couchbase/operations/document_upsert.hxx +0 -81
- data/ext/couchbase/operations/document_view.hxx +0 -228
- data/ext/couchbase/operations/group_drop.hxx +0 -71
- data/ext/couchbase/operations/group_get.hxx +0 -75
- data/ext/couchbase/operations/group_get_all.hxx +0 -70
- data/ext/couchbase/operations/group_upsert.hxx +0 -118
- data/ext/couchbase/operations/query_index_build_deferred.hxx +0 -86
- data/ext/couchbase/operations/query_index_create.hxx +0 -145
- data/ext/couchbase/operations/query_index_drop.hxx +0 -119
- data/ext/couchbase/operations/query_index_get_all.hxx +0 -117
- data/ext/couchbase/operations/rbac.hxx +0 -276
- data/ext/couchbase/operations/role_get_all.hxx +0 -70
- data/ext/couchbase/operations/scope_create.hxx +0 -88
- data/ext/couchbase/operations/scope_drop.hxx +0 -82
- data/ext/couchbase/operations/scope_get_all.hxx +0 -76
- data/ext/couchbase/operations/search_get_stats.hxx +0 -59
- data/ext/couchbase/operations/search_index.hxx +0 -79
- data/ext/couchbase/operations/search_index_analyze_document.hxx +0 -92
- data/ext/couchbase/operations/search_index_control_ingest.hxx +0 -80
- data/ext/couchbase/operations/search_index_control_plan_freeze.hxx +0 -80
- data/ext/couchbase/operations/search_index_control_query.hxx +0 -80
- data/ext/couchbase/operations/search_index_drop.hxx +0 -77
- data/ext/couchbase/operations/search_index_get.hxx +0 -80
- data/ext/couchbase/operations/search_index_get_all.hxx +0 -82
- data/ext/couchbase/operations/search_index_get_documents_count.hxx +0 -89
- data/ext/couchbase/operations/search_index_get_stats.hxx +0 -81
- data/ext/couchbase/operations/search_index_upsert.hxx +0 -106
- data/ext/couchbase/operations/user_drop.hxx +0 -72
- data/ext/couchbase/operations/user_get.hxx +0 -76
- data/ext/couchbase/operations/user_get_all.hxx +0 -71
- data/ext/couchbase/operations/user_upsert.hxx +0 -125
- data/ext/couchbase/operations/view_index_drop.hxx +0 -67
- data/ext/couchbase/operations/view_index_get.hxx +0 -90
- data/ext/couchbase/operations/view_index_get_all.hxx +0 -125
- data/ext/couchbase/operations/view_index_upsert.hxx +0 -87
- data/ext/couchbase/origin.hxx +0 -178
- data/ext/couchbase/platform/backtrace.c +0 -189
- data/ext/couchbase/platform/backtrace.h +0 -54
- data/ext/couchbase/platform/base64.cc +0 -234
- data/ext/couchbase/platform/base64.h +0 -47
- data/ext/couchbase/platform/random.cc +0 -119
- data/ext/couchbase/platform/random.h +0 -39
- data/ext/couchbase/platform/string_hex.cc +0 -99
- data/ext/couchbase/platform/string_hex.h +0 -50
- data/ext/couchbase/platform/terminate_handler.cc +0 -123
- data/ext/couchbase/platform/terminate_handler.h +0 -36
- data/ext/couchbase/platform/uuid.cc +0 -96
- data/ext/couchbase/platform/uuid.h +0 -56
- data/ext/couchbase/protocol/client_opcode.hxx +0 -264
- data/ext/couchbase/protocol/client_request.hxx +0 -160
- data/ext/couchbase/protocol/client_response.hxx +0 -218
- data/ext/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -79
- data/ext/couchbase/protocol/cmd_decrement.hxx +0 -187
- data/ext/couchbase/protocol/cmd_exists.hxx +0 -171
- data/ext/couchbase/protocol/cmd_get.hxx +0 -122
- data/ext/couchbase/protocol/cmd_get_and_lock.hxx +0 -142
- data/ext/couchbase/protocol/cmd_get_and_touch.hxx +0 -142
- data/ext/couchbase/protocol/cmd_get_cluster_config.hxx +0 -126
- data/ext/couchbase/protocol/cmd_get_collection_id.hxx +0 -117
- data/ext/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -99
- data/ext/couchbase/protocol/cmd_get_error_map.hxx +0 -126
- data/ext/couchbase/protocol/cmd_hello.hxx +0 -156
- data/ext/couchbase/protocol/cmd_increment.hxx +0 -187
- data/ext/couchbase/protocol/cmd_info.hxx +0 -25
- data/ext/couchbase/protocol/cmd_insert.hxx +0 -172
- data/ext/couchbase/protocol/cmd_lookup_in.hxx +0 -219
- data/ext/couchbase/protocol/cmd_mutate_in.hxx +0 -365
- data/ext/couchbase/protocol/cmd_remove.hxx +0 -134
- data/ext/couchbase/protocol/cmd_replace.hxx +0 -172
- data/ext/couchbase/protocol/cmd_sasl_auth.hxx +0 -106
- data/ext/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -100
- data/ext/couchbase/protocol/cmd_sasl_step.hxx +0 -104
- data/ext/couchbase/protocol/cmd_select_bucket.hxx +0 -85
- data/ext/couchbase/protocol/cmd_touch.hxx +0 -102
- data/ext/couchbase/protocol/cmd_unlock.hxx +0 -95
- data/ext/couchbase/protocol/cmd_upsert.hxx +0 -172
- data/ext/couchbase/protocol/datatype.hxx +0 -48
- data/ext/couchbase/protocol/durability_level.hxx +0 -67
- data/ext/couchbase/protocol/frame_info_id.hxx +0 -187
- data/ext/couchbase/protocol/hello_feature.hxx +0 -255
- data/ext/couchbase/protocol/magic.hxx +0 -83
- data/ext/couchbase/protocol/server_opcode.hxx +0 -57
- data/ext/couchbase/protocol/server_request.hxx +0 -122
- data/ext/couchbase/protocol/status.hxx +0 -343
- data/ext/couchbase/protocol/unsigned_leb128.h +0 -195
- data/ext/couchbase/service_type.hxx +0 -60
- data/ext/couchbase/timeout_defaults.hxx +0 -41
- data/ext/couchbase/utils/byteswap.hxx +0 -33
- data/ext/couchbase/utils/connection_string.hxx +0 -379
- data/ext/couchbase/utils/crc32.hxx +0 -48
- data/ext/couchbase/utils/url_codec.hxx +0 -225
- data/ext/couchbase/version.hxx +0 -24
- data/ext/test/test_helper.hxx +0 -141
- data/ext/test/test_helper_native.hxx +0 -59
- data/ext/test/test_helper_ruby.hxx +0 -72
- data/ext/test/test_native_diagnostics.cxx +0 -385
- data/ext/test/test_native_trivial_crud.cxx +0 -83
- data/ext/test/test_ruby_trivial_crud.cxx +0 -35
- data/ext/test/test_ruby_trivial_query.cxx +0 -34
- data/ext/third_party/asio/asio/include/asio.hpp +0 -182
- data/ext/third_party/asio/asio/include/asio/any_io_executor.hpp +0 -71
- data/ext/third_party/asio/asio/include/asio/associated_allocator.hpp +0 -125
- data/ext/third_party/asio/asio/include/asio/associated_executor.hpp +0 -166
- data/ext/third_party/asio/asio/include/asio/async_result.hpp +0 -582
- data/ext/third_party/asio/asio/include/asio/awaitable.hpp +0 -133
- data/ext/third_party/asio/asio/include/asio/basic_datagram_socket.hpp +0 -1215
- data/ext/third_party/asio/asio/include/asio/basic_deadline_timer.hpp +0 -693
- data/ext/third_party/asio/asio/include/asio/basic_io_object.hpp +0 -290
- data/ext/third_party/asio/asio/include/asio/basic_raw_socket.hpp +0 -1206
- data/ext/third_party/asio/asio/include/asio/basic_seq_packet_socket.hpp +0 -761
- data/ext/third_party/asio/asio/include/asio/basic_serial_port.hpp +0 -907
- data/ext/third_party/asio/asio/include/asio/basic_signal_set.hpp +0 -568
- data/ext/third_party/asio/asio/include/asio/basic_socket.hpp +0 -1894
- data/ext/third_party/asio/asio/include/asio/basic_socket_acceptor.hpp +0 -2501
- data/ext/third_party/asio/asio/include/asio/basic_socket_iostream.hpp +0 -407
- data/ext/third_party/asio/asio/include/asio/basic_socket_streambuf.hpp +0 -687
- data/ext/third_party/asio/asio/include/asio/basic_stream_socket.hpp +0 -1053
- data/ext/third_party/asio/asio/include/asio/basic_streambuf.hpp +0 -452
- data/ext/third_party/asio/asio/include/asio/basic_streambuf_fwd.hpp +0 -36
- data/ext/third_party/asio/asio/include/asio/basic_waitable_timer.hpp +0 -811
- data/ext/third_party/asio/asio/include/asio/bind_executor.hpp +0 -575
- data/ext/third_party/asio/asio/include/asio/buffer.hpp +0 -2496
- data/ext/third_party/asio/asio/include/asio/buffered_read_stream.hpp +0 -253
- data/ext/third_party/asio/asio/include/asio/buffered_read_stream_fwd.hpp +0 -25
- data/ext/third_party/asio/asio/include/asio/buffered_stream.hpp +0 -279
- data/ext/third_party/asio/asio/include/asio/buffered_stream_fwd.hpp +0 -25
- data/ext/third_party/asio/asio/include/asio/buffered_write_stream.hpp +0 -245
- data/ext/third_party/asio/asio/include/asio/buffered_write_stream_fwd.hpp +0 -25
- data/ext/third_party/asio/asio/include/asio/buffers_iterator.hpp +0 -521
- data/ext/third_party/asio/asio/include/asio/co_spawn.hpp +0 -471
- data/ext/third_party/asio/asio/include/asio/completion_condition.hpp +0 -218
- data/ext/third_party/asio/asio/include/asio/compose.hpp +0 -136
- data/ext/third_party/asio/asio/include/asio/connect.hpp +0 -1076
- data/ext/third_party/asio/asio/include/asio/coroutine.hpp +0 -328
- data/ext/third_party/asio/asio/include/asio/deadline_timer.hpp +0 -38
- data/ext/third_party/asio/asio/include/asio/defer.hpp +0 -130
- data/ext/third_party/asio/asio/include/asio/detached.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/detail/array.hpp +0 -38
- data/ext/third_party/asio/asio/include/asio/detail/array_fwd.hpp +0 -34
- data/ext/third_party/asio/asio/include/asio/detail/assert.hpp +0 -32
- data/ext/third_party/asio/asio/include/asio/detail/atomic_count.hpp +0 -64
- data/ext/third_party/asio/asio/include/asio/detail/base_from_completion_cond.hpp +0 -69
- data/ext/third_party/asio/asio/include/asio/detail/bind_handler.hpp +0 -934
- data/ext/third_party/asio/asio/include/asio/detail/blocking_executor_op.hpp +0 -107
- data/ext/third_party/asio/asio/include/asio/detail/buffer_resize_guard.hpp +0 -66
- data/ext/third_party/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +0 -650
- data/ext/third_party/asio/asio/include/asio/detail/buffered_stream_storage.hpp +0 -126
- data/ext/third_party/asio/asio/include/asio/detail/bulk_executor_op.hpp +0 -88
- data/ext/third_party/asio/asio/include/asio/detail/call_stack.hpp +0 -125
- data/ext/third_party/asio/asio/include/asio/detail/chrono.hpp +0 -66
- data/ext/third_party/asio/asio/include/asio/detail/chrono_time_traits.hpp +0 -190
- data/ext/third_party/asio/asio/include/asio/detail/completion_handler.hpp +0 -88
- data/ext/third_party/asio/asio/include/asio/detail/concurrency_hint.hpp +0 -94
- data/ext/third_party/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +0 -120
- data/ext/third_party/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +0 -149
- data/ext/third_party/asio/asio/include/asio/detail/config.hpp +0 -1822
- data/ext/third_party/asio/asio/include/asio/detail/consuming_buffers.hpp +0 -414
- data/ext/third_party/asio/asio/include/asio/detail/cstddef.hpp +0 -31
- data/ext/third_party/asio/asio/include/asio/detail/cstdint.hpp +0 -60
- data/ext/third_party/asio/asio/include/asio/detail/date_time_fwd.hpp +0 -34
- data/ext/third_party/asio/asio/include/asio/detail/deadline_timer_service.hpp +0 -295
- data/ext/third_party/asio/asio/include/asio/detail/dependent_type.hpp +0 -36
- data/ext/third_party/asio/asio/include/asio/detail/descriptor_ops.hpp +0 -139
- data/ext/third_party/asio/asio/include/asio/detail/descriptor_read_op.hpp +0 -148
- data/ext/third_party/asio/asio/include/asio/detail/descriptor_write_op.hpp +0 -148
- data/ext/third_party/asio/asio/include/asio/detail/dev_poll_reactor.hpp +0 -218
- data/ext/third_party/asio/asio/include/asio/detail/epoll_reactor.hpp +0 -266
- data/ext/third_party/asio/asio/include/asio/detail/event.hpp +0 -48
- data/ext/third_party/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +0 -83
- data/ext/third_party/asio/asio/include/asio/detail/executor_function.hpp +0 -203
- data/ext/third_party/asio/asio/include/asio/detail/executor_op.hpp +0 -84
- data/ext/third_party/asio/asio/include/asio/detail/fd_set_adapter.hpp +0 -39
- data/ext/third_party/asio/asio/include/asio/detail/fenced_block.hpp +0 -80
- data/ext/third_party/asio/asio/include/asio/detail/functional.hpp +0 -38
- data/ext/third_party/asio/asio/include/asio/detail/future.hpp +0 -33
- data/ext/third_party/asio/asio/include/asio/detail/gcc_arm_fenced_block.hpp +0 -91
- data/ext/third_party/asio/asio/include/asio/detail/gcc_hppa_fenced_block.hpp +0 -68
- data/ext/third_party/asio/asio/include/asio/detail/gcc_sync_fenced_block.hpp +0 -65
- data/ext/third_party/asio/asio/include/asio/detail/gcc_x86_fenced_block.hpp +0 -99
- data/ext/third_party/asio/asio/include/asio/detail/global.hpp +0 -52
- data/ext/third_party/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +0 -284
- data/ext/third_party/asio/asio/include/asio/detail/handler_cont_helpers.hpp +0 -45
- data/ext/third_party/asio/asio/include/asio/detail/handler_invoke_helpers.hpp +0 -80
- data/ext/third_party/asio/asio/include/asio/detail/handler_tracking.hpp +0 -264
- data/ext/third_party/asio/asio/include/asio/detail/handler_type_requirements.hpp +0 -556
- data/ext/third_party/asio/asio/include/asio/detail/handler_work.hpp +0 -438
- data/ext/third_party/asio/asio/include/asio/detail/hash_map.hpp +0 -331
- data/ext/third_party/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +0 -118
- data/ext/third_party/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +0 -608
- data/ext/third_party/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +0 -91
- data/ext/third_party/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +0 -446
- data/ext/third_party/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +0 -89
- data/ext/third_party/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +0 -787
- data/ext/third_party/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +0 -169
- data/ext/third_party/asio/asio/include/asio/detail/impl/handler_tracking.ipp +0 -396
- data/ext/third_party/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +0 -93
- data/ext/third_party/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +0 -570
- data/ext/third_party/asio/asio/include/asio/detail/impl/null_event.ipp +0 -74
- data/ext/third_party/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +0 -129
- data/ext/third_party/asio/asio/include/asio/detail/impl/posix_event.ipp +0 -59
- data/ext/third_party/asio/asio/include/asio/detail/impl/posix_mutex.ipp +0 -46
- data/ext/third_party/asio/asio/include/asio/detail/impl/posix_thread.ipp +0 -84
- data/ext/third_party/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +0 -46
- data/ext/third_party/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +0 -223
- data/ext/third_party/asio/asio/include/asio/detail/impl/reactive_serial_port_service.ipp +0 -149
- data/ext/third_party/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +0 -300
- data/ext/third_party/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +0 -158
- data/ext/third_party/asio/asio/include/asio/detail/impl/scheduler.ipp +0 -654
- data/ext/third_party/asio/asio/include/asio/detail/impl/select_reactor.hpp +0 -100
- data/ext/third_party/asio/asio/include/asio/detail/impl/select_reactor.ipp +0 -338
- data/ext/third_party/asio/asio/include/asio/detail/impl/service_registry.hpp +0 -94
- data/ext/third_party/asio/asio/include/asio/detail/impl/service_registry.ipp +0 -197
- data/ext/third_party/asio/asio/include/asio/detail/impl/signal_set_service.ipp +0 -668
- data/ext/third_party/asio/asio/include/asio/detail/impl/socket_ops.ipp +0 -3962
- data/ext/third_party/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +0 -185
- data/ext/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +0 -385
- data/ext/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +0 -134
- data/ext/third_party/asio/asio/include/asio/detail/impl/strand_service.hpp +0 -117
- data/ext/third_party/asio/asio/include/asio/detail/impl/strand_service.ipp +0 -178
- data/ext/third_party/asio/asio/include/asio/detail/impl/throw_error.ipp +0 -60
- data/ext/third_party/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +0 -91
- data/ext/third_party/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +0 -101
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_event.ipp +0 -76
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +0 -525
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +0 -103
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +0 -603
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +0 -192
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +0 -801
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_mutex.ipp +0 -84
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +0 -448
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +0 -136
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_thread.ipp +0 -150
- data/ext/third_party/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +0 -57
- data/ext/third_party/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +0 -626
- data/ext/third_party/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +0 -92
- data/ext/third_party/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +0 -121
- data/ext/third_party/asio/asio/include/asio/detail/impl/winsock_init.ipp +0 -82
- data/ext/third_party/asio/asio/include/asio/detail/io_control.hpp +0 -84
- data/ext/third_party/asio/asio/include/asio/detail/io_object_impl.hpp +0 -175
- data/ext/third_party/asio/asio/include/asio/detail/is_buffer_sequence.hpp +0 -312
- data/ext/third_party/asio/asio/include/asio/detail/is_executor.hpp +0 -126
- data/ext/third_party/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +0 -70
- data/ext/third_party/asio/asio/include/asio/detail/kqueue_reactor.hpp +0 -242
- data/ext/third_party/asio/asio/include/asio/detail/limits.hpp +0 -26
- data/ext/third_party/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +0 -59
- data/ext/third_party/asio/asio/include/asio/detail/macos_fenced_block.hpp +0 -62
- data/ext/third_party/asio/asio/include/asio/detail/memory.hpp +0 -73
- data/ext/third_party/asio/asio/include/asio/detail/mutex.hpp +0 -48
- data/ext/third_party/asio/asio/include/asio/detail/non_const_lvalue.hpp +0 -54
- data/ext/third_party/asio/asio/include/asio/detail/noncopyable.hpp +0 -43
- data/ext/third_party/asio/asio/include/asio/detail/null_event.hpp +0 -106
- data/ext/third_party/asio/asio/include/asio/detail/null_fenced_block.hpp +0 -47
- data/ext/third_party/asio/asio/include/asio/detail/null_global.hpp +0 -59
- data/ext/third_party/asio/asio/include/asio/detail/null_mutex.hpp +0 -64
- data/ext/third_party/asio/asio/include/asio/detail/null_reactor.hpp +0 -68
- data/ext/third_party/asio/asio/include/asio/detail/null_signal_blocker.hpp +0 -69
- data/ext/third_party/asio/asio/include/asio/detail/null_socket_service.hpp +0 -519
- data/ext/third_party/asio/asio/include/asio/detail/null_static_mutex.hpp +0 -60
- data/ext/third_party/asio/asio/include/asio/detail/null_thread.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/detail/null_tss_ptr.hpp +0 -68
- data/ext/third_party/asio/asio/include/asio/detail/object_pool.hpp +0 -171
- data/ext/third_party/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +0 -214
- data/ext/third_party/asio/asio/include/asio/detail/op_queue.hpp +0 -162
- data/ext/third_party/asio/asio/include/asio/detail/operation.hpp +0 -38
- data/ext/third_party/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +0 -89
- data/ext/third_party/asio/asio/include/asio/detail/pop_options.hpp +0 -141
- data/ext/third_party/asio/asio/include/asio/detail/posix_event.hpp +0 -175
- data/ext/third_party/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +0 -118
- data/ext/third_party/asio/asio/include/asio/detail/posix_global.hpp +0 -80
- data/ext/third_party/asio/asio/include/asio/detail/posix_mutex.hpp +0 -76
- data/ext/third_party/asio/asio/include/asio/detail/posix_signal_blocker.hpp +0 -85
- data/ext/third_party/asio/asio/include/asio/detail/posix_static_mutex.hpp +0 -64
- data/ext/third_party/asio/asio/include/asio/detail/posix_thread.hpp +0 -109
- data/ext/third_party/asio/asio/include/asio/detail/posix_tss_ptr.hpp +0 -79
- data/ext/third_party/asio/asio/include/asio/detail/push_options.hpp +0 -185
- data/ext/third_party/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +0 -416
- data/ext/third_party/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +0 -98
- data/ext/third_party/asio/asio/include/asio/detail/reactive_serial_port_service.hpp +0 -237
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +0 -242
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +0 -123
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +0 -159
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +0 -164
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +0 -145
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +0 -162
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +0 -156
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_service.hpp +0 -528
- data/ext/third_party/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +0 -541
- data/ext/third_party/asio/asio/include/asio/detail/reactive_wait_op.hpp +0 -98
- data/ext/third_party/asio/asio/include/asio/detail/reactor.hpp +0 -32
- data/ext/third_party/asio/asio/include/asio/detail/reactor_fwd.hpp +0 -40
- data/ext/third_party/asio/asio/include/asio/detail/reactor_op.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/detail/reactor_op_queue.hpp +0 -168
- data/ext/third_party/asio/asio/include/asio/detail/recycling_allocator.hpp +0 -106
- data/ext/third_party/asio/asio/include/asio/detail/regex_fwd.hpp +0 -35
- data/ext/third_party/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +0 -140
- data/ext/third_party/asio/asio/include/asio/detail/resolve_op.hpp +0 -45
- data/ext/third_party/asio/asio/include/asio/detail/resolve_query_op.hpp +0 -150
- data/ext/third_party/asio/asio/include/asio/detail/resolver_service.hpp +0 -145
- data/ext/third_party/asio/asio/include/asio/detail/resolver_service_base.hpp +0 -143
- data/ext/third_party/asio/asio/include/asio/detail/scheduler.hpp +0 -232
- data/ext/third_party/asio/asio/include/asio/detail/scheduler_operation.hpp +0 -78
- data/ext/third_party/asio/asio/include/asio/detail/scheduler_thread_info.hpp +0 -40
- data/ext/third_party/asio/asio/include/asio/detail/scoped_lock.hpp +0 -101
- data/ext/third_party/asio/asio/include/asio/detail/scoped_ptr.hpp +0 -87
- data/ext/third_party/asio/asio/include/asio/detail/select_interrupter.hpp +0 -46
- data/ext/third_party/asio/asio/include/asio/detail/select_reactor.hpp +0 -238
- data/ext/third_party/asio/asio/include/asio/detail/service_registry.hpp +0 -164
- data/ext/third_party/asio/asio/include/asio/detail/signal_blocker.hpp +0 -44
- data/ext/third_party/asio/asio/include/asio/detail/signal_handler.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/detail/signal_init.hpp +0 -47
- data/ext/third_party/asio/asio/include/asio/detail/signal_op.hpp +0 -49
- data/ext/third_party/asio/asio/include/asio/detail/signal_set_service.hpp +0 -229
- data/ext/third_party/asio/asio/include/asio/detail/socket_holder.hpp +0 -98
- data/ext/third_party/asio/asio/include/asio/detail/socket_ops.hpp +0 -383
- data/ext/third_party/asio/asio/include/asio/detail/socket_option.hpp +0 -316
- data/ext/third_party/asio/asio/include/asio/detail/socket_select_interrupter.hpp +0 -91
- data/ext/third_party/asio/asio/include/asio/detail/socket_types.hpp +0 -416
- data/ext/third_party/asio/asio/include/asio/detail/solaris_fenced_block.hpp +0 -62
- data/ext/third_party/asio/asio/include/asio/detail/source_location.hpp +0 -45
- data/ext/third_party/asio/asio/include/asio/detail/static_mutex.hpp +0 -52
- data/ext/third_party/asio/asio/include/asio/detail/std_event.hpp +0 -188
- data/ext/third_party/asio/asio/include/asio/detail/std_fenced_block.hpp +0 -62
- data/ext/third_party/asio/asio/include/asio/detail/std_global.hpp +0 -70
- data/ext/third_party/asio/asio/include/asio/detail/std_mutex.hpp +0 -73
- data/ext/third_party/asio/asio/include/asio/detail/std_static_mutex.hpp +0 -81
- data/ext/third_party/asio/asio/include/asio/detail/std_thread.hpp +0 -71
- data/ext/third_party/asio/asio/include/asio/detail/strand_executor_service.hpp +0 -166
- data/ext/third_party/asio/asio/include/asio/detail/strand_service.hpp +0 -145
- data/ext/third_party/asio/asio/include/asio/detail/string_view.hpp +0 -47
- data/ext/third_party/asio/asio/include/asio/detail/thread.hpp +0 -60
- data/ext/third_party/asio/asio/include/asio/detail/thread_context.hpp +0 -42
- data/ext/third_party/asio/asio/include/asio/detail/thread_group.hpp +0 -95
- data/ext/third_party/asio/asio/include/asio/detail/thread_info_base.hpp +0 -183
- data/ext/third_party/asio/asio/include/asio/detail/throw_error.hpp +0 -53
- data/ext/third_party/asio/asio/include/asio/detail/throw_exception.hpp +0 -51
- data/ext/third_party/asio/asio/include/asio/detail/timer_queue.hpp +0 -360
- data/ext/third_party/asio/asio/include/asio/detail/timer_queue_base.hpp +0 -68
- data/ext/third_party/asio/asio/include/asio/detail/timer_queue_ptime.hpp +0 -99
- data/ext/third_party/asio/asio/include/asio/detail/timer_queue_set.hpp +0 -66
- data/ext/third_party/asio/asio/include/asio/detail/timer_scheduler.hpp +0 -35
- data/ext/third_party/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +0 -40
- data/ext/third_party/asio/asio/include/asio/detail/tss_ptr.hpp +0 -69
- data/ext/third_party/asio/asio/include/asio/detail/type_traits.hpp +0 -148
- data/ext/third_party/asio/asio/include/asio/detail/variadic_templates.hpp +0 -294
- data/ext/third_party/asio/asio/include/asio/detail/wait_handler.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/detail/wait_op.hpp +0 -45
- data/ext/third_party/asio/asio/include/asio/detail/win_event.hpp +0 -164
- data/ext/third_party/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +0 -149
- data/ext/third_party/asio/asio/include/asio/detail/win_fenced_block.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/detail/win_global.hpp +0 -71
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +0 -117
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +0 -335
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +0 -110
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_io_context.hpp +0 -342
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +0 -127
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_operation.hpp +0 -96
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +0 -96
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +0 -171
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +0 -232
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +0 -312
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +0 -135
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +0 -124
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +0 -133
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +0 -125
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +0 -118
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +0 -581
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +0 -600
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +0 -34
- data/ext/third_party/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +0 -128
- data/ext/third_party/asio/asio/include/asio/detail/win_mutex.hpp +0 -78
- data/ext/third_party/asio/asio/include/asio/detail/win_object_handle_service.hpp +0 -195
- data/ext/third_party/asio/asio/include/asio/detail/win_static_mutex.hpp +0 -74
- data/ext/third_party/asio/asio/include/asio/detail/win_thread.hpp +0 -147
- data/ext/third_party/asio/asio/include/asio/detail/win_tss_ptr.hpp +0 -79
- data/ext/third_party/asio/asio/include/asio/detail/winapp_thread.hpp +0 -124
- data/ext/third_party/asio/asio/include/asio/detail/wince_thread.hpp +0 -124
- data/ext/third_party/asio/asio/include/asio/detail/winrt_async_manager.hpp +0 -305
- data/ext/third_party/asio/asio/include/asio/detail/winrt_async_op.hpp +0 -65
- data/ext/third_party/asio/asio/include/asio/detail/winrt_resolve_op.hpp +0 -125
- data/ext/third_party/asio/asio/include/asio/detail/winrt_resolver_service.hpp +0 -212
- data/ext/third_party/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +0 -98
- data/ext/third_party/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +0 -119
- data/ext/third_party/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +0 -110
- data/ext/third_party/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +0 -250
- data/ext/third_party/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +0 -362
- data/ext/third_party/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +0 -147
- data/ext/third_party/asio/asio/include/asio/detail/winrt_utils.hpp +0 -106
- data/ext/third_party/asio/asio/include/asio/detail/winsock_init.hpp +0 -128
- data/ext/third_party/asio/asio/include/asio/detail/work_dispatcher.hpp +0 -148
- data/ext/third_party/asio/asio/include/asio/detail/wrapped_handler.hpp +0 -327
- data/ext/third_party/asio/asio/include/asio/dispatch.hpp +0 -121
- data/ext/third_party/asio/asio/include/asio/error.hpp +0 -356
- data/ext/third_party/asio/asio/include/asio/error_code.hpp +0 -202
- data/ext/third_party/asio/asio/include/asio/execution.hpp +0 -48
- data/ext/third_party/asio/asio/include/asio/execution/allocator.hpp +0 -249
- data/ext/third_party/asio/asio/include/asio/execution/any_executor.hpp +0 -2264
- data/ext/third_party/asio/asio/include/asio/execution/bad_executor.hpp +0 -47
- data/ext/third_party/asio/asio/include/asio/execution/blocking.hpp +0 -1351
- data/ext/third_party/asio/asio/include/asio/execution/blocking_adaptation.hpp +0 -1064
- data/ext/third_party/asio/asio/include/asio/execution/bulk_execute.hpp +0 -390
- data/ext/third_party/asio/asio/include/asio/execution/bulk_guarantee.hpp +0 -1018
- data/ext/third_party/asio/asio/include/asio/execution/connect.hpp +0 -486
- data/ext/third_party/asio/asio/include/asio/execution/context.hpp +0 -185
- data/ext/third_party/asio/asio/include/asio/execution/context_as.hpp +0 -201
- data/ext/third_party/asio/asio/include/asio/execution/detail/as_invocable.hpp +0 -152
- data/ext/third_party/asio/asio/include/asio/execution/detail/as_operation.hpp +0 -105
- data/ext/third_party/asio/asio/include/asio/execution/detail/as_receiver.hpp +0 -128
- data/ext/third_party/asio/asio/include/asio/execution/detail/bulk_sender.hpp +0 -261
- data/ext/third_party/asio/asio/include/asio/execution/detail/submit_receiver.hpp +0 -233
- data/ext/third_party/asio/asio/include/asio/execution/detail/void_receiver.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/execution/execute.hpp +0 -264
- data/ext/third_party/asio/asio/include/asio/execution/executor.hpp +0 -238
- data/ext/third_party/asio/asio/include/asio/execution/impl/bad_executor.ipp +0 -40
- data/ext/third_party/asio/asio/include/asio/execution/impl/receiver_invocation_error.ipp +0 -36
- data/ext/third_party/asio/asio/include/asio/execution/invocable_archetype.hpp +0 -71
- data/ext/third_party/asio/asio/include/asio/execution/mapping.hpp +0 -917
- data/ext/third_party/asio/asio/include/asio/execution/occupancy.hpp +0 -178
- data/ext/third_party/asio/asio/include/asio/execution/operation_state.hpp +0 -94
- data/ext/third_party/asio/asio/include/asio/execution/outstanding_work.hpp +0 -721
- data/ext/third_party/asio/asio/include/asio/execution/prefer_only.hpp +0 -327
- data/ext/third_party/asio/asio/include/asio/execution/receiver.hpp +0 -280
- data/ext/third_party/asio/asio/include/asio/execution/receiver_invocation_error.hpp +0 -48
- data/ext/third_party/asio/asio/include/asio/execution/relationship.hpp +0 -720
- data/ext/third_party/asio/asio/include/asio/execution/schedule.hpp +0 -290
- data/ext/third_party/asio/asio/include/asio/execution/scheduler.hpp +0 -86
- data/ext/third_party/asio/asio/include/asio/execution/sender.hpp +0 -311
- data/ext/third_party/asio/asio/include/asio/execution/set_done.hpp +0 -253
- data/ext/third_party/asio/asio/include/asio/execution/set_error.hpp +0 -253
- data/ext/third_party/asio/asio/include/asio/execution/set_value.hpp +0 -486
- data/ext/third_party/asio/asio/include/asio/execution/start.hpp +0 -250
- data/ext/third_party/asio/asio/include/asio/execution/submit.hpp +0 -450
- data/ext/third_party/asio/asio/include/asio/execution_context.hpp +0 -412
- data/ext/third_party/asio/asio/include/asio/executor.hpp +0 -347
- data/ext/third_party/asio/asio/include/asio/executor_work_guard.hpp +0 -287
- data/ext/third_party/asio/asio/include/asio/generic/basic_endpoint.hpp +0 -193
- data/ext/third_party/asio/asio/include/asio/generic/datagram_protocol.hpp +0 -123
- data/ext/third_party/asio/asio/include/asio/generic/detail/endpoint.hpp +0 -133
- data/ext/third_party/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +0 -110
- data/ext/third_party/asio/asio/include/asio/generic/raw_protocol.hpp +0 -121
- data/ext/third_party/asio/asio/include/asio/generic/seq_packet_protocol.hpp +0 -122
- data/ext/third_party/asio/asio/include/asio/generic/stream_protocol.hpp +0 -127
- data/ext/third_party/asio/asio/include/asio/handler_alloc_hook.hpp +0 -104
- data/ext/third_party/asio/asio/include/asio/handler_continuation_hook.hpp +0 -54
- data/ext/third_party/asio/asio/include/asio/handler_invoke_hook.hpp +0 -111
- data/ext/third_party/asio/asio/include/asio/high_resolution_timer.hpp +0 -44
- data/ext/third_party/asio/asio/include/asio/impl/awaitable.hpp +0 -436
- data/ext/third_party/asio/asio/include/asio/impl/buffered_read_stream.hpp +0 -527
- data/ext/third_party/asio/asio/include/asio/impl/buffered_write_stream.hpp +0 -507
- data/ext/third_party/asio/asio/include/asio/impl/co_spawn.hpp +0 -298
- data/ext/third_party/asio/asio/include/asio/impl/compose.hpp +0 -635
- data/ext/third_party/asio/asio/include/asio/impl/connect.hpp +0 -916
- data/ext/third_party/asio/asio/include/asio/impl/defer.hpp +0 -248
- data/ext/third_party/asio/asio/include/asio/impl/detached.hpp +0 -130
- data/ext/third_party/asio/asio/include/asio/impl/dispatch.hpp +0 -243
- data/ext/third_party/asio/asio/include/asio/impl/error.ipp +0 -128
- data/ext/third_party/asio/asio/include/asio/impl/error_code.ipp +0 -206
- data/ext/third_party/asio/asio/include/asio/impl/execution_context.hpp +0 -109
- data/ext/third_party/asio/asio/include/asio/impl/execution_context.ipp +0 -82
- data/ext/third_party/asio/asio/include/asio/impl/executor.hpp +0 -301
- data/ext/third_party/asio/asio/include/asio/impl/executor.ipp +0 -43
- data/ext/third_party/asio/asio/include/asio/impl/handler_alloc_hook.ipp +0 -61
- data/ext/third_party/asio/asio/include/asio/impl/io_context.hpp +0 -440
- data/ext/third_party/asio/asio/include/asio/impl/io_context.ipp +0 -175
- data/ext/third_party/asio/asio/include/asio/impl/multiple_exceptions.ipp +0 -49
- data/ext/third_party/asio/asio/include/asio/impl/post.hpp +0 -248
- data/ext/third_party/asio/asio/include/asio/impl/read.hpp +0 -1202
- data/ext/third_party/asio/asio/include/asio/impl/read_at.hpp +0 -744
- data/ext/third_party/asio/asio/include/asio/impl/read_until.hpp +0 -3335
- data/ext/third_party/asio/asio/include/asio/impl/redirect_error.hpp +0 -390
- data/ext/third_party/asio/asio/include/asio/impl/serial_port_base.hpp +0 -59
- data/ext/third_party/asio/asio/include/asio/impl/serial_port_base.ipp +0 -554
- data/ext/third_party/asio/asio/include/asio/impl/spawn.hpp +0 -526
- data/ext/third_party/asio/asio/include/asio/impl/src.hpp +0 -85
- data/ext/third_party/asio/asio/include/asio/impl/system_context.hpp +0 -34
- data/ext/third_party/asio/asio/include/asio/impl/system_context.ipp +0 -92
- data/ext/third_party/asio/asio/include/asio/impl/system_executor.hpp +0 -186
- data/ext/third_party/asio/asio/include/asio/impl/thread_pool.hpp +0 -350
- data/ext/third_party/asio/asio/include/asio/impl/thread_pool.ipp +0 -141
- data/ext/third_party/asio/asio/include/asio/impl/use_awaitable.hpp +0 -279
- data/ext/third_party/asio/asio/include/asio/impl/use_future.hpp +0 -1028
- data/ext/third_party/asio/asio/include/asio/impl/write.hpp +0 -1104
- data/ext/third_party/asio/asio/include/asio/impl/write_at.hpp +0 -666
- data/ext/third_party/asio/asio/include/asio/io_context.hpp +0 -1530
- data/ext/third_party/asio/asio/include/asio/io_context_strand.hpp +0 -376
- data/ext/third_party/asio/asio/include/asio/io_service.hpp +0 -33
- data/ext/third_party/asio/asio/include/asio/io_service_strand.hpp +0 -20
- data/ext/third_party/asio/asio/include/asio/ip/address.hpp +0 -268
- data/ext/third_party/asio/asio/include/asio/ip/address_v4.hpp +0 -335
- data/ext/third_party/asio/asio/include/asio/ip/address_v4_iterator.hpp +0 -162
- data/ext/third_party/asio/asio/include/asio/ip/address_v4_range.hpp +0 -134
- data/ext/third_party/asio/asio/include/asio/ip/address_v6.hpp +0 -341
- data/ext/third_party/asio/asio/include/asio/ip/address_v6_iterator.hpp +0 -183
- data/ext/third_party/asio/asio/include/asio/ip/address_v6_range.hpp +0 -129
- data/ext/third_party/asio/asio/include/asio/ip/bad_address_cast.hpp +0 -53
- data/ext/third_party/asio/asio/include/asio/ip/basic_endpoint.hpp +0 -264
- data/ext/third_party/asio/asio/include/asio/ip/basic_resolver.hpp +0 -1030
- data/ext/third_party/asio/asio/include/asio/ip/basic_resolver_entry.hpp +0 -113
- data/ext/third_party/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +0 -192
- data/ext/third_party/asio/asio/include/asio/ip/basic_resolver_query.hpp +0 -244
- data/ext/third_party/asio/asio/include/asio/ip/basic_resolver_results.hpp +0 -311
- data/ext/third_party/asio/asio/include/asio/ip/detail/endpoint.hpp +0 -141
- data/ext/third_party/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +0 -199
- data/ext/third_party/asio/asio/include/asio/ip/detail/socket_option.hpp +0 -566
- data/ext/third_party/asio/asio/include/asio/ip/host_name.hpp +0 -42
- data/ext/third_party/asio/asio/include/asio/ip/icmp.hpp +0 -115
- data/ext/third_party/asio/asio/include/asio/ip/impl/address.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/ip/impl/address.ipp +0 -239
- data/ext/third_party/asio/asio/include/asio/ip/impl/address_v4.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/ip/impl/address_v4.ipp +0 -210
- data/ext/third_party/asio/asio/include/asio/ip/impl/address_v6.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/ip/impl/address_v6.ipp +0 -350
- data/ext/third_party/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +0 -43
- data/ext/third_party/asio/asio/include/asio/ip/impl/host_name.ipp +0 -54
- data/ext/third_party/asio/asio/include/asio/ip/impl/network_v4.hpp +0 -54
- data/ext/third_party/asio/asio/include/asio/ip/impl/network_v4.ipp +0 -216
- data/ext/third_party/asio/asio/include/asio/ip/impl/network_v6.hpp +0 -53
- data/ext/third_party/asio/asio/include/asio/ip/impl/network_v6.ipp +0 -185
- data/ext/third_party/asio/asio/include/asio/ip/multicast.hpp +0 -191
- data/ext/third_party/asio/asio/include/asio/ip/network_v4.hpp +0 -261
- data/ext/third_party/asio/asio/include/asio/ip/network_v6.hpp +0 -235
- data/ext/third_party/asio/asio/include/asio/ip/resolver_base.hpp +0 -129
- data/ext/third_party/asio/asio/include/asio/ip/resolver_query_base.hpp +0 -43
- data/ext/third_party/asio/asio/include/asio/ip/tcp.hpp +0 -155
- data/ext/third_party/asio/asio/include/asio/ip/udp.hpp +0 -111
- data/ext/third_party/asio/asio/include/asio/ip/unicast.hpp +0 -70
- data/ext/third_party/asio/asio/include/asio/ip/v6_only.hpp +0 -69
- data/ext/third_party/asio/asio/include/asio/is_applicable_property.hpp +0 -61
- data/ext/third_party/asio/asio/include/asio/is_executor.hpp +0 -46
- data/ext/third_party/asio/asio/include/asio/is_read_buffered.hpp +0 -59
- data/ext/third_party/asio/asio/include/asio/is_write_buffered.hpp +0 -59
- data/ext/third_party/asio/asio/include/asio/local/basic_endpoint.hpp +0 -247
- data/ext/third_party/asio/asio/include/asio/local/connect_pair.hpp +0 -101
- data/ext/third_party/asio/asio/include/asio/local/datagram_protocol.hpp +0 -80
- data/ext/third_party/asio/asio/include/asio/local/detail/endpoint.hpp +0 -139
- data/ext/third_party/asio/asio/include/asio/local/detail/impl/endpoint.ipp +0 -136
- data/ext/third_party/asio/asio/include/asio/local/stream_protocol.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/multiple_exceptions.hpp +0 -58
- data/ext/third_party/asio/asio/include/asio/packaged_task.hpp +0 -126
- data/ext/third_party/asio/asio/include/asio/placeholders.hpp +0 -151
- data/ext/third_party/asio/asio/include/asio/posix/basic_descriptor.hpp +0 -697
- data/ext/third_party/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +0 -470
- data/ext/third_party/asio/asio/include/asio/posix/descriptor.hpp +0 -37
- data/ext/third_party/asio/asio/include/asio/posix/descriptor_base.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/posix/stream_descriptor.hpp +0 -37
- data/ext/third_party/asio/asio/include/asio/post.hpp +0 -126
- data/ext/third_party/asio/asio/include/asio/prefer.hpp +0 -656
- data/ext/third_party/asio/asio/include/asio/query.hpp +0 -296
- data/ext/third_party/asio/asio/include/asio/read.hpp +0 -1288
- data/ext/third_party/asio/asio/include/asio/read_at.hpp +0 -694
- data/ext/third_party/asio/asio/include/asio/read_until.hpp +0 -2863
- data/ext/third_party/asio/asio/include/asio/redirect_error.hpp +0 -66
- data/ext/third_party/asio/asio/include/asio/require.hpp +0 -524
- data/ext/third_party/asio/asio/include/asio/require_concept.hpp +0 -310
- data/ext/third_party/asio/asio/include/asio/serial_port.hpp +0 -36
- data/ext/third_party/asio/asio/include/asio/serial_port_base.hpp +0 -167
- data/ext/third_party/asio/asio/include/asio/signal_set.hpp +0 -28
- data/ext/third_party/asio/asio/include/asio/socket_base.hpp +0 -559
- data/ext/third_party/asio/asio/include/asio/spawn.hpp +0 -344
- data/ext/third_party/asio/asio/include/asio/ssl.hpp +0 -28
- data/ext/third_party/asio/asio/include/asio/ssl/context.hpp +0 -761
- data/ext/third_party/asio/asio/include/asio/ssl/context_base.hpp +0 -209
- data/ext/third_party/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +0 -119
- data/ext/third_party/asio/asio/include/asio/ssl/detail/engine.hpp +0 -165
- data/ext/third_party/asio/asio/include/asio/ssl/detail/handshake_op.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/ssl/detail/impl/engine.ipp +0 -349
- data/ext/third_party/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +0 -165
- data/ext/third_party/asio/asio/include/asio/ssl/detail/io.hpp +0 -415
- data/ext/third_party/asio/asio/include/asio/ssl/detail/openssl_init.hpp +0 -101
- data/ext/third_party/asio/asio/include/asio/ssl/detail/openssl_types.hpp +0 -34
- data/ext/third_party/asio/asio/include/asio/ssl/detail/password_callback.hpp +0 -66
- data/ext/third_party/asio/asio/include/asio/ssl/detail/read_op.hpp +0 -72
- data/ext/third_party/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +0 -69
- data/ext/third_party/asio/asio/include/asio/ssl/detail/stream_core.hpp +0 -169
- data/ext/third_party/asio/asio/include/asio/ssl/detail/verify_callback.hpp +0 -62
- data/ext/third_party/asio/asio/include/asio/ssl/detail/write_op.hpp +0 -76
- data/ext/third_party/asio/asio/include/asio/ssl/error.hpp +0 -125
- data/ext/third_party/asio/asio/include/asio/ssl/host_name_verification.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/ssl/impl/context.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/ssl/impl/context.ipp +0 -1238
- data/ext/third_party/asio/asio/include/asio/ssl/impl/error.ipp +0 -102
- data/ext/third_party/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +0 -73
- data/ext/third_party/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +0 -164
- data/ext/third_party/asio/asio/include/asio/ssl/impl/src.hpp +0 -29
- data/ext/third_party/asio/asio/include/asio/ssl/rfc2818_verification.hpp +0 -98
- data/ext/third_party/asio/asio/include/asio/ssl/stream.hpp +0 -900
- data/ext/third_party/asio/asio/include/asio/ssl/stream_base.hpp +0 -52
- data/ext/third_party/asio/asio/include/asio/ssl/verify_context.hpp +0 -67
- data/ext/third_party/asio/asio/include/asio/ssl/verify_mode.hpp +0 -63
- data/ext/third_party/asio/asio/include/asio/static_thread_pool.hpp +0 -31
- data/ext/third_party/asio/asio/include/asio/steady_timer.hpp +0 -42
- data/ext/third_party/asio/asio/include/asio/strand.hpp +0 -537
- data/ext/third_party/asio/asio/include/asio/streambuf.hpp +0 -33
- data/ext/third_party/asio/asio/include/asio/system_context.hpp +0 -90
- data/ext/third_party/asio/asio/include/asio/system_error.hpp +0 -131
- data/ext/third_party/asio/asio/include/asio/system_executor.hpp +0 -662
- data/ext/third_party/asio/asio/include/asio/system_timer.hpp +0 -42
- data/ext/third_party/asio/asio/include/asio/this_coro.hpp +0 -45
- data/ext/third_party/asio/asio/include/asio/thread.hpp +0 -92
- data/ext/third_party/asio/asio/include/asio/thread_pool.hpp +0 -1111
- data/ext/third_party/asio/asio/include/asio/time_traits.hpp +0 -86
- data/ext/third_party/asio/asio/include/asio/traits/bulk_execute_free.hpp +0 -114
- data/ext/third_party/asio/asio/include/asio/traits/bulk_execute_member.hpp +0 -114
- data/ext/third_party/asio/asio/include/asio/traits/connect_free.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/traits/connect_member.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/traits/equality_comparable.hpp +0 -100
- data/ext/third_party/asio/asio/include/asio/traits/execute_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/execute_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/prefer_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/prefer_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/query_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/query_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/require_concept_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/require_concept_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/require_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/require_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/schedule_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/schedule_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/set_done_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/set_done_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/set_error_free.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/traits/set_error_member.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/traits/set_value_free.hpp +0 -234
- data/ext/third_party/asio/asio/include/asio/traits/set_value_member.hpp +0 -234
- data/ext/third_party/asio/asio/include/asio/traits/start_free.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/start_member.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/static_query.hpp +0 -108
- data/ext/third_party/asio/asio/include/asio/traits/static_require.hpp +0 -123
- data/ext/third_party/asio/asio/include/asio/traits/static_require_concept.hpp +0 -123
- data/ext/third_party/asio/asio/include/asio/traits/submit_free.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/traits/submit_member.hpp +0 -112
- data/ext/third_party/asio/asio/include/asio/ts/buffer.hpp +0 -24
- data/ext/third_party/asio/asio/include/asio/ts/executor.hpp +0 -35
- data/ext/third_party/asio/asio/include/asio/ts/internet.hpp +0 -40
- data/ext/third_party/asio/asio/include/asio/ts/io_context.hpp +0 -20
- data/ext/third_party/asio/asio/include/asio/ts/net.hpp +0 -26
- data/ext/third_party/asio/asio/include/asio/ts/netfwd.hpp +0 -262
- data/ext/third_party/asio/asio/include/asio/ts/socket.hpp +0 -27
- data/ext/third_party/asio/asio/include/asio/ts/timer.hpp +0 -26
- data/ext/third_party/asio/asio/include/asio/unyield.hpp +0 -21
- data/ext/third_party/asio/asio/include/asio/use_awaitable.hpp +0 -169
- data/ext/third_party/asio/asio/include/asio/use_future.hpp +0 -160
- data/ext/third_party/asio/asio/include/asio/uses_executor.hpp +0 -71
- data/ext/third_party/asio/asio/include/asio/version.hpp +0 -23
- data/ext/third_party/asio/asio/include/asio/wait_traits.hpp +0 -56
- data/ext/third_party/asio/asio/include/asio/windows/basic_object_handle.hpp +0 -435
- data/ext/third_party/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +0 -361
- data/ext/third_party/asio/asio/include/asio/windows/basic_random_access_handle.hpp +0 -490
- data/ext/third_party/asio/asio/include/asio/windows/basic_stream_handle.hpp +0 -474
- data/ext/third_party/asio/asio/include/asio/windows/object_handle.hpp +0 -38
- data/ext/third_party/asio/asio/include/asio/windows/overlapped_handle.hpp +0 -39
- data/ext/third_party/asio/asio/include/asio/windows/overlapped_ptr.hpp +0 -145
- data/ext/third_party/asio/asio/include/asio/windows/random_access_handle.hpp +0 -37
- data/ext/third_party/asio/asio/include/asio/windows/stream_handle.hpp +0 -37
- data/ext/third_party/asio/asio/include/asio/write.hpp +0 -1246
- data/ext/third_party/asio/asio/include/asio/write_at.hpp +0 -702
- data/ext/third_party/asio/asio/include/asio/yield.hpp +0 -23
- data/ext/third_party/gsl/CMakeLists.txt +0 -127
- data/ext/third_party/gsl/LICENSE +0 -21
- data/ext/third_party/gsl/ThirdPartyNotices.txt +0 -41
- data/ext/third_party/gsl/include/gsl/gsl +0 -29
- data/ext/third_party/gsl/include/gsl/gsl_algorithm +0 -61
- data/ext/third_party/gsl/include/gsl/gsl_assert +0 -133
- data/ext/third_party/gsl/include/gsl/gsl_byte +0 -209
- data/ext/third_party/gsl/include/gsl/gsl_narrow +0 -52
- data/ext/third_party/gsl/include/gsl/gsl_util +0 -129
- data/ext/third_party/gsl/include/gsl/multi_span +0 -2263
- data/ext/third_party/gsl/include/gsl/pointers +0 -287
- data/ext/third_party/gsl/include/gsl/span +0 -816
- data/ext/third_party/gsl/include/gsl/span_ext +0 -198
- data/ext/third_party/gsl/include/gsl/string_span +0 -706
- data/ext/third_party/http_parser/LICENSE-MIT +0 -19
- data/ext/third_party/http_parser/http_parser.c +0 -2575
- data/ext/third_party/http_parser/http_parser.h +0 -449
- data/ext/third_party/json/CMakeLists.txt +0 -44
- data/ext/third_party/json/LICENSE +0 -21
- data/ext/third_party/json/LICENSE.double-conversion +0 -32
- data/ext/third_party/json/LICENSE.itoa +0 -19
- data/ext/third_party/json/LICENSE.ryu +0 -201
- data/ext/third_party/json/include/tao/json.hpp +0 -45
- data/ext/third_party/json/include/tao/json/basic_value.hpp +0 -942
- data/ext/third_party/json/include/tao/json/binary.hpp +0 -103
- data/ext/third_party/json/include/tao/json/binary_view.hpp +0 -31
- data/ext/third_party/json/include/tao/json/binding.hpp +0 -71
- data/ext/third_party/json/include/tao/json/binding/constant.hpp +0 -232
- data/ext/third_party/json/include/tao/json/binding/element.hpp +0 -182
- data/ext/third_party/json/include/tao/json/binding/factory.hpp +0 -251
- data/ext/third_party/json/include/tao/json/binding/for_nothing_value.hpp +0 -17
- data/ext/third_party/json/include/tao/json/binding/for_unknown_key.hpp +0 -17
- data/ext/third_party/json/include/tao/json/binding/inherit.hpp +0 -14
- data/ext/third_party/json/include/tao/json/binding/internal/array.hpp +0 -104
- data/ext/third_party/json/include/tao/json/binding/internal/inherit.hpp +0 -45
- data/ext/third_party/json/include/tao/json/binding/internal/object.hpp +0 -268
- data/ext/third_party/json/include/tao/json/binding/internal/type_key.hpp +0 -54
- data/ext/third_party/json/include/tao/json/binding/member.hpp +0 -32
- data/ext/third_party/json/include/tao/json/binding/member_kind.hpp +0 -17
- data/ext/third_party/json/include/tao/json/binding/versions.hpp +0 -129
- data/ext/third_party/json/include/tao/json/cbor.hpp +0 -19
- data/ext/third_party/json/include/tao/json/cbor/consume_file.hpp +0 -34
- data/ext/third_party/json/include/tao/json/cbor/consume_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/cbor/events/from_binary.hpp +0 -43
- data/ext/third_party/json/include/tao/json/cbor/events/from_file.hpp +0 -27
- data/ext/third_party/json/include/tao/json/cbor/events/from_input.hpp +0 -43
- data/ext/third_party/json/include/tao/json/cbor/events/from_string.hpp +0 -37
- data/ext/third_party/json/include/tao/json/cbor/events/to_stream.hpp +0 -161
- data/ext/third_party/json/include/tao/json/cbor/events/to_string.hpp +0 -31
- data/ext/third_party/json/include/tao/json/cbor/from_binary.hpp +0 -32
- data/ext/third_party/json/include/tao/json/cbor/from_file.hpp +0 -33
- data/ext/third_party/json/include/tao/json/cbor/from_input.hpp +0 -33
- data/ext/third_party/json/include/tao/json/cbor/from_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/cbor/internal/grammar.hpp +0 -418
- data/ext/third_party/json/include/tao/json/cbor/internal/major.hpp +0 -28
- data/ext/third_party/json/include/tao/json/cbor/parts_parser.hpp +0 -392
- data/ext/third_party/json/include/tao/json/cbor/to_stream.hpp +0 -27
- data/ext/third_party/json/include/tao/json/cbor/to_string.hpp +0 -28
- data/ext/third_party/json/include/tao/json/consume.hpp +0 -43
- data/ext/third_party/json/include/tao/json/consume_file.hpp +0 -33
- data/ext/third_party/json/include/tao/json/consume_string.hpp +0 -31
- data/ext/third_party/json/include/tao/json/contrib/array_traits.hpp +0 -43
- data/ext/third_party/json/include/tao/json/contrib/deque_traits.hpp +0 -41
- data/ext/third_party/json/include/tao/json/contrib/diff.hpp +0 -106
- data/ext/third_party/json/include/tao/json/contrib/get.hpp +0 -152
- data/ext/third_party/json/include/tao/json/contrib/internal/array_traits.hpp +0 -92
- data/ext/third_party/json/include/tao/json/contrib/internal/indirect_traits.hpp +0 -76
- data/ext/third_party/json/include/tao/json/contrib/internal/object_traits.hpp +0 -105
- data/ext/third_party/json/include/tao/json/contrib/internal/type_traits.hpp +0 -36
- data/ext/third_party/json/include/tao/json/contrib/list_traits.hpp +0 -41
- data/ext/third_party/json/include/tao/json/contrib/map_traits.hpp +0 -43
- data/ext/third_party/json/include/tao/json/contrib/multimap_traits.hpp +0 -43
- data/ext/third_party/json/include/tao/json/contrib/multiset_traits.hpp +0 -41
- data/ext/third_party/json/include/tao/json/contrib/pair_traits.hpp +0 -21
- data/ext/third_party/json/include/tao/json/contrib/patch.hpp +0 -105
- data/ext/third_party/json/include/tao/json/contrib/pointer_traits.hpp +0 -59
- data/ext/third_party/json/include/tao/json/contrib/position.hpp +0 -166
- data/ext/third_party/json/include/tao/json/contrib/reference.hpp +0 -113
- data/ext/third_party/json/include/tao/json/contrib/schema.hpp +0 -1874
- data/ext/third_party/json/include/tao/json/contrib/set_traits.hpp +0 -41
- data/ext/third_party/json/include/tao/json/contrib/shared_ptr_traits.hpp +0 -98
- data/ext/third_party/json/include/tao/json/contrib/traits.hpp +0 -121
- data/ext/third_party/json/include/tao/json/contrib/tuple_traits.hpp +0 -51
- data/ext/third_party/json/include/tao/json/contrib/unique_ptr_traits.hpp +0 -97
- data/ext/third_party/json/include/tao/json/contrib/unordered_map_traits.hpp +0 -43
- data/ext/third_party/json/include/tao/json/contrib/unordered_set_traits.hpp +0 -41
- data/ext/third_party/json/include/tao/json/contrib/vector_bool_traits.hpp +0 -45
- data/ext/third_party/json/include/tao/json/contrib/vector_traits.hpp +0 -51
- data/ext/third_party/json/include/tao/json/events.hpp +0 -47
- data/ext/third_party/json/include/tao/json/events/apply.hpp +0 -20
- data/ext/third_party/json/include/tao/json/events/binary_to_base64.hpp +0 -26
- data/ext/third_party/json/include/tao/json/events/binary_to_base64url.hpp +0 -28
- data/ext/third_party/json/include/tao/json/events/binary_to_exception.hpp +0 -27
- data/ext/third_party/json/include/tao/json/events/binary_to_hex.hpp +0 -26
- data/ext/third_party/json/include/tao/json/events/compare.hpp +0 -255
- data/ext/third_party/json/include/tao/json/events/debug.hpp +0 -145
- data/ext/third_party/json/include/tao/json/events/discard.hpp +0 -43
- data/ext/third_party/json/include/tao/json/events/from_file.hpp +0 -28
- data/ext/third_party/json/include/tao/json/events/from_input.hpp +0 -45
- data/ext/third_party/json/include/tao/json/events/from_stream.hpp +0 -33
- data/ext/third_party/json/include/tao/json/events/from_string.hpp +0 -38
- data/ext/third_party/json/include/tao/json/events/from_value.hpp +0 -202
- data/ext/third_party/json/include/tao/json/events/hash.hpp +0 -174
- data/ext/third_party/json/include/tao/json/events/invalid_string_to_binary.hpp +0 -50
- data/ext/third_party/json/include/tao/json/events/invalid_string_to_exception.hpp +0 -49
- data/ext/third_party/json/include/tao/json/events/invalid_string_to_hex.hpp +0 -48
- data/ext/third_party/json/include/tao/json/events/key_camel_case_to_snake_case.hpp +0 -62
- data/ext/third_party/json/include/tao/json/events/key_snake_case_to_camel_case.hpp +0 -57
- data/ext/third_party/json/include/tao/json/events/limit_nesting_depth.hpp +0 -82
- data/ext/third_party/json/include/tao/json/events/limit_value_count.hpp +0 -46
- data/ext/third_party/json/include/tao/json/events/non_finite_to_exception.hpp +0 -31
- data/ext/third_party/json/include/tao/json/events/non_finite_to_null.hpp +0 -32
- data/ext/third_party/json/include/tao/json/events/non_finite_to_string.hpp +0 -40
- data/ext/third_party/json/include/tao/json/events/prefer_signed.hpp +0 -32
- data/ext/third_party/json/include/tao/json/events/prefer_unsigned.hpp +0 -32
- data/ext/third_party/json/include/tao/json/events/produce.hpp +0 -22
- data/ext/third_party/json/include/tao/json/events/ref.hpp +0 -111
- data/ext/third_party/json/include/tao/json/events/statistics.hpp +0 -112
- data/ext/third_party/json/include/tao/json/events/tee.hpp +0 -386
- data/ext/third_party/json/include/tao/json/events/to_pretty_stream.hpp +0 -172
- data/ext/third_party/json/include/tao/json/events/to_stream.hpp +0 -142
- data/ext/third_party/json/include/tao/json/events/to_string.hpp +0 -33
- data/ext/third_party/json/include/tao/json/events/to_value.hpp +0 -137
- data/ext/third_party/json/include/tao/json/events/transformer.hpp +0 -70
- data/ext/third_party/json/include/tao/json/events/validate_event_order.hpp +0 -411
- data/ext/third_party/json/include/tao/json/events/validate_keys.hpp +0 -51
- data/ext/third_party/json/include/tao/json/events/virtual_base.hpp +0 -192
- data/ext/third_party/json/include/tao/json/events/virtual_ref.hpp +0 -176
- data/ext/third_party/json/include/tao/json/external/double.hpp +0 -1313
- data/ext/third_party/json/include/tao/json/external/itoa.hpp +0 -149
- data/ext/third_party/json/include/tao/json/external/pegtl.hpp +0 -44
- data/ext/third_party/json/include/tao/json/external/pegtl/apply_mode.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/argv_input.hpp +0 -49
- data/ext/third_party/json/include/tao/json/external/pegtl/ascii.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/buffer_input.hpp +0 -212
- data/ext/third_party/json/include/tao/json/external/pegtl/change_action.hpp +0 -38
- data/ext/third_party/json/include/tao/json/external/pegtl/change_action_and_state.hpp +0 -53
- data/ext/third_party/json/include/tao/json/external/pegtl/change_action_and_states.hpp +0 -62
- data/ext/third_party/json/include/tao/json/external/pegtl/change_control.hpp +0 -36
- data/ext/third_party/json/include/tao/json/external/pegtl/change_state.hpp +0 -50
- data/ext/third_party/json/include/tao/json/external/pegtl/change_states.hpp +0 -61
- data/ext/third_party/json/include/tao/json/external/pegtl/config.hpp +0 -11
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/abnf.hpp +0 -35
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/alphabet.hpp +0 -67
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/analyze.hpp +0 -176
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/analyze_traits.hpp +0 -275
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/control_action.hpp +0 -77
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/coverage.hpp +0 -151
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/forward.hpp +0 -16
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/http.hpp +0 -272
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/internal.hpp +0 -66
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/utf16.hpp +0 -196
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/utf32.hpp +0 -196
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/icu/utf8.hpp +0 -103
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/if_then.hpp +0 -56
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/integer.hpp +0 -431
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/endian.hpp +0 -62
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/endian_gcc.hpp +0 -206
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/endian_win.hpp +0 -106
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/peek_mask_uint.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/peek_mask_uint8.hpp +0 -33
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/peek_uint.hpp +0 -45
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/peek_uint8.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/peek_utf16.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/peek_utf32.hpp +0 -43
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/read_uint.hpp +0 -77
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/internal/set_stack_guard.hpp +0 -52
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/json.hpp +0 -88
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/json_pointer.hpp +0 -33
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/parse_tree.hpp +0 -440
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/parse_tree_to_dot.hpp +0 -105
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/print.hpp +0 -75
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/print_coverage.hpp +0 -53
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/raw_string.hpp +0 -234
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/remove_first_state.hpp +0 -69
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/remove_last_states.hpp +0 -117
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/rep_one_min_max.hpp +0 -94
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/rep_string.hpp +0 -43
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/shuffle_states.hpp +0 -193
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/state_control.hpp +0 -118
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/to_string.hpp +0 -38
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/trace.hpp +0 -227
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/uint16.hpp +0 -62
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/uint32.hpp +0 -62
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/uint64.hpp +0 -63
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/uint8.hpp +0 -36
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/unescape.hpp +0 -199
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/uri.hpp +0 -106
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/utf16.hpp +0 -49
- data/ext/third_party/json/include/tao/json/external/pegtl/contrib/utf32.hpp +0 -49
- data/ext/third_party/json/include/tao/json/external/pegtl/cstream_input.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/demangle.hpp +0 -138
- data/ext/third_party/json/include/tao/json/external/pegtl/disable_action.hpp +0 -35
- data/ext/third_party/json/include/tao/json/external/pegtl/discard_input.hpp +0 -37
- data/ext/third_party/json/include/tao/json/external/pegtl/discard_input_on_failure.hpp +0 -39
- data/ext/third_party/json/include/tao/json/external/pegtl/discard_input_on_success.hpp +0 -39
- data/ext/third_party/json/include/tao/json/external/pegtl/enable_action.hpp +0 -35
- data/ext/third_party/json/include/tao/json/external/pegtl/eol.hpp +0 -37
- data/ext/third_party/json/include/tao/json/external/pegtl/eol_pair.hpp +0 -18
- data/ext/third_party/json/include/tao/json/external/pegtl/file_input.hpp +0 -44
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/action.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/action_input.hpp +0 -106
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/any.hpp +0 -58
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply.hpp +0 -53
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply0.hpp +0 -51
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply0_single.hpp +0 -34
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/apply_single.hpp +0 -34
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/at.hpp +0 -55
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/bof.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/bol.hpp +0 -31
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/bump.hpp +0 -45
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/bump_help.hpp +0 -29
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/bytes.hpp +0 -43
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/control.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/cr_crlf_eol.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/cr_eol.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/crlf_eol.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/cstream_reader.hpp +0 -49
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/cstring_reader.hpp +0 -40
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/dependent_false.hpp +0 -16
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/disable.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/discard.hpp +0 -34
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/enable.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/enable_control.hpp +0 -25
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/eof.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/eol.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/eolf.hpp +0 -33
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/failure.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_mapper_posix.hpp +0 -134
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_mapper_win32.hpp +0 -213
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/file_reader.hpp +0 -117
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_apply.hpp +0 -21
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_apply0.hpp +0 -21
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_match.hpp +0 -40
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/has_unwind.hpp +0 -21
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/identifier.hpp +0 -22
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_apply.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_must.hpp +0 -47
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_must_else.hpp +0 -21
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/if_then_else.hpp +0 -51
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/input_pair.hpp +0 -29
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/istream_reader.hpp +0 -39
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/istring.hpp +0 -72
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/iterator.hpp +0 -49
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/lf_crlf_eol.hpp +0 -37
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/lf_eol.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/list.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/list_must.hpp +0 -20
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/list_tail.hpp +0 -22
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/list_tail_pad.hpp +0 -22
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/marker.hpp +0 -80
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/minus.hpp +0 -21
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/missing_apply.hpp +0 -28
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/missing_apply0.hpp +0 -26
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/must.hpp +0 -64
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/not_at.hpp +0 -55
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/one.hpp +0 -55
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/opt.hpp +0 -57
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/pad.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/pad_opt.hpp +0 -20
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/path_to_string.hpp +0 -26
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/peek_char.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/peek_utf8.hpp +0 -89
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/pegtl_string.hpp +0 -90
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/plus.hpp +0 -60
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/raise.hpp +0 -44
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/range.hpp +0 -56
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/ranges.hpp +0 -103
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/rematch.hpp +0 -72
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep.hpp +0 -67
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep_min.hpp +0 -20
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep_min_max.hpp +0 -81
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/rep_opt.hpp +0 -61
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/require.hpp +0 -42
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/result_on_found.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/rules.hpp +0 -61
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/seq.hpp +0 -58
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/sor.hpp +0 -67
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/star.hpp +0 -52
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/star_must.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/state.hpp +0 -59
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/string.hpp +0 -58
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/success.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/try_catch_type.hpp +0 -64
- data/ext/third_party/json/include/tao/json/external/pegtl/internal/until.hpp +0 -88
- data/ext/third_party/json/include/tao/json/external/pegtl/istream_input.hpp +0 -32
- data/ext/third_party/json/include/tao/json/external/pegtl/match.hpp +0 -169
- data/ext/third_party/json/include/tao/json/external/pegtl/memory_input.hpp +0 -365
- data/ext/third_party/json/include/tao/json/external/pegtl/mmap_input.hpp +0 -79
- data/ext/third_party/json/include/tao/json/external/pegtl/must_if.hpp +0 -64
- data/ext/third_party/json/include/tao/json/external/pegtl/normal.hpp +0 -87
- data/ext/third_party/json/include/tao/json/external/pegtl/nothing.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/parse.hpp +0 -51
- data/ext/third_party/json/include/tao/json/external/pegtl/parse_error.hpp +0 -114
- data/ext/third_party/json/include/tao/json/external/pegtl/position.hpp +0 -83
- data/ext/third_party/json/include/tao/json/external/pegtl/read_input.hpp +0 -54
- data/ext/third_party/json/include/tao/json/external/pegtl/require_apply.hpp +0 -16
- data/ext/third_party/json/include/tao/json/external/pegtl/require_apply0.hpp +0 -16
- data/ext/third_party/json/include/tao/json/external/pegtl/rewind_mode.hpp +0 -20
- data/ext/third_party/json/include/tao/json/external/pegtl/rules.hpp +0 -68
- data/ext/third_party/json/include/tao/json/external/pegtl/string_input.hpp +0 -64
- data/ext/third_party/json/include/tao/json/external/pegtl/tracking_mode.hpp +0 -19
- data/ext/third_party/json/include/tao/json/external/pegtl/type_list.hpp +0 -46
- data/ext/third_party/json/include/tao/json/external/pegtl/utf8.hpp +0 -28
- data/ext/third_party/json/include/tao/json/external/pegtl/version.hpp +0 -13
- data/ext/third_party/json/include/tao/json/external/pegtl/visit.hpp +0 -66
- data/ext/third_party/json/include/tao/json/external/ryu.hpp +0 -1216
- data/ext/third_party/json/include/tao/json/forward.hpp +0 -44
- data/ext/third_party/json/include/tao/json/from_file.hpp +0 -32
- data/ext/third_party/json/include/tao/json/from_input.hpp +0 -32
- data/ext/third_party/json/include/tao/json/from_stream.hpp +0 -45
- data/ext/third_party/json/include/tao/json/from_string.hpp +0 -41
- data/ext/third_party/json/include/tao/json/internal/action.hpp +0 -268
- data/ext/third_party/json/include/tao/json/internal/base64.hpp +0 -55
- data/ext/third_party/json/include/tao/json/internal/base64url.hpp +0 -53
- data/ext/third_party/json/include/tao/json/internal/dependent_false.hpp +0 -14
- data/ext/third_party/json/include/tao/json/internal/endian.hpp +0 -60
- data/ext/third_party/json/include/tao/json/internal/endian_gcc.hpp +0 -198
- data/ext/third_party/json/include/tao/json/internal/endian_win.hpp +0 -103
- data/ext/third_party/json/include/tao/json/internal/errors.hpp +0 -85
- data/ext/third_party/json/include/tao/json/internal/escape.hpp +0 -77
- data/ext/third_party/json/include/tao/json/internal/format.hpp +0 -57
- data/ext/third_party/json/include/tao/json/internal/grammar.hpp +0 -229
- data/ext/third_party/json/include/tao/json/internal/hexdump.hpp +0 -31
- data/ext/third_party/json/include/tao/json/internal/identity.hpp +0 -22
- data/ext/third_party/json/include/tao/json/internal/number_state.hpp +0 -80
- data/ext/third_party/json/include/tao/json/internal/number_traits.hpp +0 -267
- data/ext/third_party/json/include/tao/json/internal/pair.hpp +0 -42
- data/ext/third_party/json/include/tao/json/internal/parse_util.hpp +0 -112
- data/ext/third_party/json/include/tao/json/internal/sha256.hpp +0 -218
- data/ext/third_party/json/include/tao/json/internal/single.hpp +0 -40
- data/ext/third_party/json/include/tao/json/internal/string_t.hpp +0 -35
- data/ext/third_party/json/include/tao/json/internal/type_traits.hpp +0 -96
- data/ext/third_party/json/include/tao/json/internal/unescape_action.hpp +0 -24
- data/ext/third_party/json/include/tao/json/internal/uri_fragment.hpp +0 -182
- data/ext/third_party/json/include/tao/json/jaxn.hpp +0 -19
- data/ext/third_party/json/include/tao/json/jaxn/consume_file.hpp +0 -34
- data/ext/third_party/json/include/tao/json/jaxn/consume_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/jaxn/events/from_file.hpp +0 -28
- data/ext/third_party/json/include/tao/json/jaxn/events/from_input.hpp +0 -45
- data/ext/third_party/json/include/tao/json/jaxn/events/from_stream.hpp +0 -33
- data/ext/third_party/json/include/tao/json/jaxn/events/from_string.hpp +0 -39
- data/ext/third_party/json/include/tao/json/jaxn/events/to_pretty_stream.hpp +0 -69
- data/ext/third_party/json/include/tao/json/jaxn/events/to_stream.hpp +0 -67
- data/ext/third_party/json/include/tao/json/jaxn/events/to_string.hpp +0 -33
- data/ext/third_party/json/include/tao/json/jaxn/from_file.hpp +0 -33
- data/ext/third_party/json/include/tao/json/jaxn/from_input.hpp +0 -33
- data/ext/third_party/json/include/tao/json/jaxn/from_stream.hpp +0 -48
- data/ext/third_party/json/include/tao/json/jaxn/from_string.hpp +0 -42
- data/ext/third_party/json/include/tao/json/jaxn/internal/action.hpp +0 -355
- data/ext/third_party/json/include/tao/json/jaxn/internal/bunescape_action.hpp +0 -114
- data/ext/third_party/json/include/tao/json/jaxn/internal/errors.hpp +0 -108
- data/ext/third_party/json/include/tao/json/jaxn/internal/grammar.hpp +0 -375
- data/ext/third_party/json/include/tao/json/jaxn/internal/integer.hpp +0 -255
- data/ext/third_party/json/include/tao/json/jaxn/internal/unescape_action.hpp +0 -28
- data/ext/third_party/json/include/tao/json/jaxn/is_identifier.hpp +0 -27
- data/ext/third_party/json/include/tao/json/jaxn/parts_parser.hpp +0 -261
- data/ext/third_party/json/include/tao/json/jaxn/to_stream.hpp +0 -36
- data/ext/third_party/json/include/tao/json/jaxn/to_string.hpp +0 -33
- data/ext/third_party/json/include/tao/json/message_extension.hpp +0 -49
- data/ext/third_party/json/include/tao/json/msgpack.hpp +0 -19
- data/ext/third_party/json/include/tao/json/msgpack/consume_file.hpp +0 -34
- data/ext/third_party/json/include/tao/json/msgpack/consume_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/msgpack/events/from_binary.hpp +0 -43
- data/ext/third_party/json/include/tao/json/msgpack/events/from_file.hpp +0 -27
- data/ext/third_party/json/include/tao/json/msgpack/events/from_input.hpp +0 -43
- data/ext/third_party/json/include/tao/json/msgpack/events/from_string.hpp +0 -37
- data/ext/third_party/json/include/tao/json/msgpack/events/to_stream.hpp +0 -214
- data/ext/third_party/json/include/tao/json/msgpack/events/to_string.hpp +0 -31
- data/ext/third_party/json/include/tao/json/msgpack/from_binary.hpp +0 -32
- data/ext/third_party/json/include/tao/json/msgpack/from_file.hpp +0 -33
- data/ext/third_party/json/include/tao/json/msgpack/from_input.hpp +0 -33
- data/ext/third_party/json/include/tao/json/msgpack/from_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/msgpack/internal/format.hpp +0 -57
- data/ext/third_party/json/include/tao/json/msgpack/internal/grammar.hpp +0 -250
- data/ext/third_party/json/include/tao/json/msgpack/parts_parser.hpp +0 -311
- data/ext/third_party/json/include/tao/json/msgpack/to_stream.hpp +0 -27
- data/ext/third_party/json/include/tao/json/msgpack/to_string.hpp +0 -28
- data/ext/third_party/json/include/tao/json/operators.hpp +0 -490
- data/ext/third_party/json/include/tao/json/parts_parser.hpp +0 -302
- data/ext/third_party/json/include/tao/json/pointer.hpp +0 -432
- data/ext/third_party/json/include/tao/json/produce.hpp +0 -61
- data/ext/third_party/json/include/tao/json/self_contained.hpp +0 -131
- data/ext/third_party/json/include/tao/json/span.hpp +0 -496
- data/ext/third_party/json/include/tao/json/stream.hpp +0 -38
- data/ext/third_party/json/include/tao/json/to_stream.hpp +0 -42
- data/ext/third_party/json/include/tao/json/to_string.hpp +0 -23
- data/ext/third_party/json/include/tao/json/traits.hpp +0 -971
- data/ext/third_party/json/include/tao/json/type.hpp +0 -112
- data/ext/third_party/json/include/tao/json/ubjson.hpp +0 -19
- data/ext/third_party/json/include/tao/json/ubjson/consume_file.hpp +0 -34
- data/ext/third_party/json/include/tao/json/ubjson/consume_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/ubjson/events/from_binary.hpp +0 -43
- data/ext/third_party/json/include/tao/json/ubjson/events/from_file.hpp +0 -27
- data/ext/third_party/json/include/tao/json/ubjson/events/from_input.hpp +0 -43
- data/ext/third_party/json/include/tao/json/ubjson/events/from_string.hpp +0 -37
- data/ext/third_party/json/include/tao/json/ubjson/events/to_stream.hpp +0 -174
- data/ext/third_party/json/include/tao/json/ubjson/events/to_string.hpp +0 -31
- data/ext/third_party/json/include/tao/json/ubjson/from_binary.hpp +0 -32
- data/ext/third_party/json/include/tao/json/ubjson/from_file.hpp +0 -33
- data/ext/third_party/json/include/tao/json/ubjson/from_input.hpp +0 -33
- data/ext/third_party/json/include/tao/json/ubjson/from_string.hpp +0 -32
- data/ext/third_party/json/include/tao/json/ubjson/internal/grammar.hpp +0 -415
- data/ext/third_party/json/include/tao/json/ubjson/internal/marker.hpp +0 -46
- data/ext/third_party/json/include/tao/json/ubjson/parts_parser.hpp +0 -393
- data/ext/third_party/json/include/tao/json/ubjson/to_stream.hpp +0 -28
- data/ext/third_party/json/include/tao/json/ubjson/to_string.hpp +0 -29
- data/ext/third_party/json/include/tao/json/utf8.hpp +0 -57
- data/ext/third_party/json/include/tao/json/value.hpp +0 -12
- data/ext/third_party/snappy/CMakeLists.txt +0 -345
- data/ext/third_party/snappy/COPYING +0 -54
- data/ext/third_party/snappy/cmake/SnappyConfig.cmake.in +0 -33
- data/ext/third_party/snappy/cmake/config.h.in +0 -59
- data/ext/third_party/snappy/snappy-c.cc +0 -90
- data/ext/third_party/snappy/snappy-c.h +0 -138
- data/ext/third_party/snappy/snappy-internal.h +0 -315
- data/ext/third_party/snappy/snappy-sinksource.cc +0 -121
- data/ext/third_party/snappy/snappy-sinksource.h +0 -182
- data/ext/third_party/snappy/snappy-stubs-internal.cc +0 -42
- data/ext/third_party/snappy/snappy-stubs-internal.h +0 -493
- data/ext/third_party/snappy/snappy-stubs-public.h.in +0 -63
- data/ext/third_party/snappy/snappy.cc +0 -1774
- data/ext/third_party/snappy/snappy.h +0 -209
- data/ext/third_party/spdlog/CMakeLists.txt +0 -291
- data/ext/third_party/spdlog/LICENSE +0 -26
- data/ext/third_party/spdlog/cmake/ide.cmake +0 -18
- data/ext/third_party/spdlog/cmake/pch.h.in +0 -258
- data/ext/third_party/spdlog/cmake/spdlog.pc.in +0 -13
- data/ext/third_party/spdlog/cmake/spdlogCPack.cmake +0 -46
- data/ext/third_party/spdlog/cmake/spdlogConfig.cmake.in +0 -15
- data/ext/third_party/spdlog/cmake/utils.cmake +0 -61
- data/ext/third_party/spdlog/cmake/version.rc.in +0 -42
- data/ext/third_party/spdlog/include/spdlog/async.h +0 -93
- data/ext/third_party/spdlog/include/spdlog/async_logger-inl.h +0 -92
- data/ext/third_party/spdlog/include/spdlog/async_logger.h +0 -68
- data/ext/third_party/spdlog/include/spdlog/cfg/argv.h +0 -44
- data/ext/third_party/spdlog/include/spdlog/cfg/env.h +0 -38
- data/ext/third_party/spdlog/include/spdlog/cfg/helpers-inl.h +0 -119
- data/ext/third_party/spdlog/include/spdlog/cfg/helpers.h +0 -29
- data/ext/third_party/spdlog/include/spdlog/common-inl.h +0 -76
- data/ext/third_party/spdlog/include/spdlog/common.h +0 -245
- data/ext/third_party/spdlog/include/spdlog/details/backtracer-inl.h +0 -69
- data/ext/third_party/spdlog/include/spdlog/details/backtracer.h +0 -45
- data/ext/third_party/spdlog/include/spdlog/details/circular_q.h +0 -141
- data/ext/third_party/spdlog/include/spdlog/details/console_globals.h +0 -32
- data/ext/third_party/spdlog/include/spdlog/details/file_helper-inl.h +0 -132
- data/ext/third_party/spdlog/include/spdlog/details/file_helper.h +0 -59
- data/ext/third_party/spdlog/include/spdlog/details/fmt_helper.h +0 -116
- data/ext/third_party/spdlog/include/spdlog/details/log_msg-inl.h +0 -37
- data/ext/third_party/spdlog/include/spdlog/details/log_msg.h +0 -36
- data/ext/third_party/spdlog/include/spdlog/details/log_msg_buffer-inl.h +0 -58
- data/ext/third_party/spdlog/include/spdlog/details/log_msg_buffer.h +0 -33
- data/ext/third_party/spdlog/include/spdlog/details/mpmc_blocking_q.h +0 -120
- data/ext/third_party/spdlog/include/spdlog/details/null_mutex.h +0 -49
- data/ext/third_party/spdlog/include/spdlog/details/os-inl.h +0 -554
- data/ext/third_party/spdlog/include/spdlog/details/os.h +0 -111
- data/ext/third_party/spdlog/include/spdlog/details/periodic_worker-inl.h +0 -49
- data/ext/third_party/spdlog/include/spdlog/details/periodic_worker.h +0 -40
- data/ext/third_party/spdlog/include/spdlog/details/registry-inl.h +0 -313
- data/ext/third_party/spdlog/include/spdlog/details/registry.h +0 -115
- data/ext/third_party/spdlog/include/spdlog/details/synchronous_factory.h +0 -24
- data/ext/third_party/spdlog/include/spdlog/details/tcp_client-windows.h +0 -175
- data/ext/third_party/spdlog/include/spdlog/details/tcp_client.h +0 -146
- data/ext/third_party/spdlog/include/spdlog/details/thread_pool-inl.h +0 -124
- data/ext/third_party/spdlog/include/spdlog/details/thread_pool.h +0 -120
- data/ext/third_party/spdlog/include/spdlog/details/windows_include.h +0 -11
- data/ext/third_party/spdlog/include/spdlog/fmt/bin_to_hex.h +0 -216
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/LICENSE.rst +0 -27
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/chrono.h +0 -1123
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/color.h +0 -566
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/compile.h +0 -665
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/core.h +0 -1882
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/format-inl.h +0 -1453
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/format.h +0 -3729
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/locale.h +0 -78
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/os.h +0 -450
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/ostream.h +0 -167
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/posix.h +0 -2
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/printf.h +0 -751
- data/ext/third_party/spdlog/include/spdlog/fmt/bundled/ranges.h +0 -386
- data/ext/third_party/spdlog/include/spdlog/fmt/chrono.h +0 -20
- data/ext/third_party/spdlog/include/spdlog/fmt/fmt.h +0 -27
- data/ext/third_party/spdlog/include/spdlog/fmt/ostr.h +0 -20
- data/ext/third_party/spdlog/include/spdlog/formatter.h +0 -18
- data/ext/third_party/spdlog/include/spdlog/fwd.h +0 -14
- data/ext/third_party/spdlog/include/spdlog/logger-inl.h +0 -257
- data/ext/third_party/spdlog/include/spdlog/logger.h +0 -366
- data/ext/third_party/spdlog/include/spdlog/pattern_formatter-inl.h +0 -1373
- data/ext/third_party/spdlog/include/spdlog/pattern_formatter.h +0 -126
- data/ext/third_party/spdlog/include/spdlog/sinks/android_sink.h +0 -119
- data/ext/third_party/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +0 -143
- data/ext/third_party/spdlog/include/spdlog/sinks/ansicolor_sink.h +0 -118
- data/ext/third_party/spdlog/include/spdlog/sinks/base_sink-inl.h +0 -63
- data/ext/third_party/spdlog/include/spdlog/sinks/base_sink.h +0 -52
- data/ext/third_party/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +0 -43
- data/ext/third_party/spdlog/include/spdlog/sinks/basic_file_sink.h +0 -58
- data/ext/third_party/spdlog/include/spdlog/sinks/daily_file_sink.h +0 -204
- data/ext/third_party/spdlog/include/spdlog/sinks/dist_sink.h +0 -97
- data/ext/third_party/spdlog/include/spdlog/sinks/dup_filter_sink.h +0 -90
- data/ext/third_party/spdlog/include/spdlog/sinks/msvc_sink.h +0 -49
- data/ext/third_party/spdlog/include/spdlog/sinks/null_sink.h +0 -44
- data/ext/third_party/spdlog/include/spdlog/sinks/ostream_sink.h +0 -50
- data/ext/third_party/spdlog/include/spdlog/sinks/ringbuffer_sink.h +0 -74
- data/ext/third_party/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +0 -131
- data/ext/third_party/spdlog/include/spdlog/sinks/rotating_file_sink.h +0 -78
- data/ext/third_party/spdlog/include/spdlog/sinks/sink-inl.h +0 -25
- data/ext/third_party/spdlog/include/spdlog/sinks/sink.h +0 -35
- data/ext/third_party/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -38
- data/ext/third_party/spdlog/include/spdlog/sinks/stdout_color_sinks.h +0 -45
- data/ext/third_party/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +0 -123
- data/ext/third_party/spdlog/include/spdlog/sinks/stdout_sinks.h +0 -87
- data/ext/third_party/spdlog/include/spdlog/sinks/syslog_sink.h +0 -109
- data/ext/third_party/spdlog/include/spdlog/sinks/systemd_sink.h +0 -103
- data/ext/third_party/spdlog/include/spdlog/sinks/tcp_sink.h +0 -81
- data/ext/third_party/spdlog/include/spdlog/sinks/win_eventlog_sink.h +0 -266
- data/ext/third_party/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +0 -170
- data/ext/third_party/spdlog/include/spdlog/sinks/wincolor_sink.h +0 -94
- data/ext/third_party/spdlog/include/spdlog/spdlog-inl.h +0 -125
- data/ext/third_party/spdlog/include/spdlog/spdlog.h +0 -295
- data/ext/third_party/spdlog/include/spdlog/stopwatch.h +0 -61
- data/ext/third_party/spdlog/include/spdlog/tweakme.h +0 -116
- data/ext/third_party/spdlog/include/spdlog/version.h +0 -10
- data/ext/third_party/spdlog/src/async.cpp +0 -13
- data/ext/third_party/spdlog/src/cfg.cpp +0 -8
- data/ext/third_party/spdlog/src/color_sinks.cpp +0 -51
- data/ext/third_party/spdlog/src/file_sinks.cpp +0 -20
- data/ext/third_party/spdlog/src/fmt.cpp +0 -63
- data/ext/third_party/spdlog/src/spdlog.cpp +0 -26
- data/ext/third_party/spdlog/src/stdout_sinks.cpp +0 -29
@@ -1,42 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// system_timer.hpp
|
3
|
-
// ~~~~~~~~~~~~~~~~
|
4
|
-
//
|
5
|
-
// Copyright (c) 2003-2020 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 ASIO_SYSTEM_TIMER_HPP
|
12
|
-
#define ASIO_SYSTEM_TIMER_HPP
|
13
|
-
|
14
|
-
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
-
# pragma once
|
16
|
-
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
-
|
18
|
-
#include "asio/detail/config.hpp"
|
19
|
-
|
20
|
-
#if defined(ASIO_HAS_CHRONO) || defined(GENERATING_DOCUMENTATION)
|
21
|
-
|
22
|
-
#include "asio/basic_waitable_timer.hpp"
|
23
|
-
#include "asio/detail/chrono.hpp"
|
24
|
-
|
25
|
-
namespace asio {
|
26
|
-
|
27
|
-
/// Typedef for a timer based on the system clock.
|
28
|
-
/**
|
29
|
-
* This typedef uses the C++11 @c <chrono> standard library facility, if
|
30
|
-
* available. Otherwise, it may use the Boost.Chrono library. To explicitly
|
31
|
-
* utilise Boost.Chrono, use the basic_waitable_timer template directly:
|
32
|
-
* @code
|
33
|
-
* typedef basic_waitable_timer<boost::chrono::system_clock> timer;
|
34
|
-
* @endcode
|
35
|
-
*/
|
36
|
-
typedef basic_waitable_timer<chrono::system_clock> system_timer;
|
37
|
-
|
38
|
-
} // namespace asio
|
39
|
-
|
40
|
-
#endif // defined(ASIO_HAS_CHRONO) || defined(GENERATING_DOCUMENTATION)
|
41
|
-
|
42
|
-
#endif // ASIO_SYSTEM_TIMER_HPP
|
@@ -1,45 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// this_coro.hpp
|
3
|
-
// ~~~~~~~~~~~~~
|
4
|
-
//
|
5
|
-
// Copyright (c) 2003-2020 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 ASIO_THIS_CORO_HPP
|
12
|
-
#define ASIO_THIS_CORO_HPP
|
13
|
-
|
14
|
-
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
-
# pragma once
|
16
|
-
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
-
|
18
|
-
#include "asio/detail/config.hpp"
|
19
|
-
|
20
|
-
#include "asio/detail/push_options.hpp"
|
21
|
-
|
22
|
-
namespace asio {
|
23
|
-
namespace this_coro {
|
24
|
-
|
25
|
-
/// Awaitable type that returns the executor of the current coroutine.
|
26
|
-
struct executor_t
|
27
|
-
{
|
28
|
-
ASIO_CONSTEXPR executor_t()
|
29
|
-
{
|
30
|
-
}
|
31
|
-
};
|
32
|
-
|
33
|
-
/// Awaitable object that returns the executor of the current coroutine.
|
34
|
-
#if defined(ASIO_HAS_CONSTEXPR) || defined(GENERATING_DOCUMENTATION)
|
35
|
-
constexpr executor_t executor;
|
36
|
-
#elif defined(ASIO_MSVC)
|
37
|
-
__declspec(selectany) executor_t executor;
|
38
|
-
#endif
|
39
|
-
|
40
|
-
} // namespace this_coro
|
41
|
-
} // namespace asio
|
42
|
-
|
43
|
-
#include "asio/detail/pop_options.hpp"
|
44
|
-
|
45
|
-
#endif // ASIO_THIS_CORO_HPP
|
@@ -1,92 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// thread.hpp
|
3
|
-
// ~~~~~~~~~~
|
4
|
-
//
|
5
|
-
// Copyright (c) 2003-2020 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 ASIO_THREAD_HPP
|
12
|
-
#define ASIO_THREAD_HPP
|
13
|
-
|
14
|
-
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
-
# pragma once
|
16
|
-
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
-
|
18
|
-
#include "asio/detail/config.hpp"
|
19
|
-
#include "asio/detail/noncopyable.hpp"
|
20
|
-
#include "asio/detail/thread.hpp"
|
21
|
-
|
22
|
-
#include "asio/detail/push_options.hpp"
|
23
|
-
|
24
|
-
namespace asio {
|
25
|
-
|
26
|
-
/// A simple abstraction for starting threads.
|
27
|
-
/**
|
28
|
-
* The asio::thread class implements the smallest possible subset of the
|
29
|
-
* functionality of boost::thread. It is intended to be used only for starting
|
30
|
-
* a thread and waiting for it to exit. If more extensive threading
|
31
|
-
* capabilities are required, you are strongly advised to use something else.
|
32
|
-
*
|
33
|
-
* @par Thread Safety
|
34
|
-
* @e Distinct @e objects: Safe.@n
|
35
|
-
* @e Shared @e objects: Unsafe.
|
36
|
-
*
|
37
|
-
* @par Example
|
38
|
-
* A typical use of asio::thread would be to launch a thread to run an
|
39
|
-
* io_context's event processing loop:
|
40
|
-
*
|
41
|
-
* @par
|
42
|
-
* @code asio::io_context io_context;
|
43
|
-
* // ...
|
44
|
-
* asio::thread t(boost::bind(&asio::io_context::run, &io_context));
|
45
|
-
* // ...
|
46
|
-
* t.join(); @endcode
|
47
|
-
*/
|
48
|
-
class thread
|
49
|
-
: private noncopyable
|
50
|
-
{
|
51
|
-
public:
|
52
|
-
/// Start a new thread that executes the supplied function.
|
53
|
-
/**
|
54
|
-
* This constructor creates a new thread that will execute the given function
|
55
|
-
* or function object.
|
56
|
-
*
|
57
|
-
* @param f The function or function object to be run in the thread. The
|
58
|
-
* function signature must be: @code void f(); @endcode
|
59
|
-
*/
|
60
|
-
template <typename Function>
|
61
|
-
explicit thread(Function f)
|
62
|
-
: impl_(f)
|
63
|
-
{
|
64
|
-
}
|
65
|
-
|
66
|
-
/// Destructor.
|
67
|
-
~thread()
|
68
|
-
{
|
69
|
-
}
|
70
|
-
|
71
|
-
/// Wait for the thread to exit.
|
72
|
-
/**
|
73
|
-
* This function will block until the thread has exited.
|
74
|
-
*
|
75
|
-
* If this function is not called before the thread object is destroyed, the
|
76
|
-
* thread itself will continue to run until completion. You will, however,
|
77
|
-
* no longer have the ability to wait for it to exit.
|
78
|
-
*/
|
79
|
-
void join()
|
80
|
-
{
|
81
|
-
impl_.join();
|
82
|
-
}
|
83
|
-
|
84
|
-
private:
|
85
|
-
detail::thread impl_;
|
86
|
-
};
|
87
|
-
|
88
|
-
} // namespace asio
|
89
|
-
|
90
|
-
#include "asio/detail/pop_options.hpp"
|
91
|
-
|
92
|
-
#endif // ASIO_THREAD_HPP
|
@@ -1,1111 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// thread_pool.hpp
|
3
|
-
// ~~~~~~~~~~~~~~~
|
4
|
-
//
|
5
|
-
// Copyright (c) 2003-2020 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 ASIO_THREAD_POOL_HPP
|
12
|
-
#define ASIO_THREAD_POOL_HPP
|
13
|
-
|
14
|
-
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
-
# pragma once
|
16
|
-
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
-
|
18
|
-
#include "asio/detail/config.hpp"
|
19
|
-
#include "asio/detail/atomic_count.hpp"
|
20
|
-
#include "asio/detail/scheduler.hpp"
|
21
|
-
#include "asio/detail/thread_group.hpp"
|
22
|
-
#include "asio/execution.hpp"
|
23
|
-
#include "asio/execution_context.hpp"
|
24
|
-
|
25
|
-
#include "asio/detail/push_options.hpp"
|
26
|
-
|
27
|
-
namespace asio {
|
28
|
-
namespace detail {
|
29
|
-
struct thread_pool_bits
|
30
|
-
{
|
31
|
-
ASIO_STATIC_CONSTEXPR(unsigned int, blocking_never = 1);
|
32
|
-
ASIO_STATIC_CONSTEXPR(unsigned int, blocking_always = 2);
|
33
|
-
ASIO_STATIC_CONSTEXPR(unsigned int, blocking_mask = 3);
|
34
|
-
ASIO_STATIC_CONSTEXPR(unsigned int, relationship_continuation = 4);
|
35
|
-
ASIO_STATIC_CONSTEXPR(unsigned int, outstanding_work_tracked = 8);
|
36
|
-
};
|
37
|
-
} // namespace detail
|
38
|
-
|
39
|
-
/// A simple fixed-size thread pool.
|
40
|
-
/**
|
41
|
-
* The thread pool class is an execution context where functions are permitted
|
42
|
-
* to run on one of a fixed number of threads.
|
43
|
-
*
|
44
|
-
* @par Submitting tasks to the pool
|
45
|
-
*
|
46
|
-
* To submit functions to the thread pool, use the @ref asio::dispatch,
|
47
|
-
* @ref asio::post or @ref asio::defer free functions.
|
48
|
-
*
|
49
|
-
* For example:
|
50
|
-
*
|
51
|
-
* @code void my_task()
|
52
|
-
* {
|
53
|
-
* ...
|
54
|
-
* }
|
55
|
-
*
|
56
|
-
* ...
|
57
|
-
*
|
58
|
-
* // Launch the pool with four threads.
|
59
|
-
* asio::thread_pool pool(4);
|
60
|
-
*
|
61
|
-
* // Submit a function to the pool.
|
62
|
-
* asio::post(pool, my_task);
|
63
|
-
*
|
64
|
-
* // Submit a lambda object to the pool.
|
65
|
-
* asio::post(pool,
|
66
|
-
* []()
|
67
|
-
* {
|
68
|
-
* ...
|
69
|
-
* });
|
70
|
-
*
|
71
|
-
* // Wait for all tasks in the pool to complete.
|
72
|
-
* pool.join(); @endcode
|
73
|
-
*/
|
74
|
-
class thread_pool
|
75
|
-
: public execution_context
|
76
|
-
{
|
77
|
-
public:
|
78
|
-
template <typename Allocator, unsigned int Bits>
|
79
|
-
class basic_executor_type;
|
80
|
-
|
81
|
-
template <typename Allocator, unsigned int Bits>
|
82
|
-
friend class basic_executor_type;
|
83
|
-
|
84
|
-
/// Executor used to submit functions to a thread pool.
|
85
|
-
typedef basic_executor_type<std::allocator<void>, 0> executor_type;
|
86
|
-
|
87
|
-
/// Scheduler used to schedule receivers on a thread pool.
|
88
|
-
typedef basic_executor_type<std::allocator<void>, 0> scheduler_type;
|
89
|
-
|
90
|
-
#if !defined(ASIO_NO_TS_EXECUTORS)
|
91
|
-
/// Constructs a pool with an automatically determined number of threads.
|
92
|
-
ASIO_DECL thread_pool();
|
93
|
-
#endif // !defined(ASIO_NO_TS_EXECUTORS)
|
94
|
-
|
95
|
-
/// Constructs a pool with a specified number of threads.
|
96
|
-
ASIO_DECL thread_pool(std::size_t num_threads);
|
97
|
-
|
98
|
-
/// Destructor.
|
99
|
-
/**
|
100
|
-
* Automatically stops and joins the pool, if not explicitly done beforehand.
|
101
|
-
*/
|
102
|
-
ASIO_DECL ~thread_pool();
|
103
|
-
|
104
|
-
/// Obtains the executor associated with the pool.
|
105
|
-
executor_type get_executor() ASIO_NOEXCEPT;
|
106
|
-
|
107
|
-
/// Obtains the executor associated with the pool.
|
108
|
-
executor_type executor() ASIO_NOEXCEPT;
|
109
|
-
|
110
|
-
/// Obtains the scheduler associated with the pool.
|
111
|
-
scheduler_type scheduler() ASIO_NOEXCEPT;
|
112
|
-
|
113
|
-
/// Stops the threads.
|
114
|
-
/**
|
115
|
-
* This function stops the threads as soon as possible. As a result of calling
|
116
|
-
* @c stop(), pending function objects may be never be invoked.
|
117
|
-
*/
|
118
|
-
ASIO_DECL void stop();
|
119
|
-
|
120
|
-
/// Attaches the current thread to the pool.
|
121
|
-
/**
|
122
|
-
* This function attaches the current thread to the pool so that it may be
|
123
|
-
* used for executing submitted function objects. Blocks the calling thread
|
124
|
-
* until the pool is stopped or joined and has no outstanding work.
|
125
|
-
*/
|
126
|
-
ASIO_DECL void attach();
|
127
|
-
|
128
|
-
/// Joins the threads.
|
129
|
-
/**
|
130
|
-
* This function blocks until the threads in the pool have completed. If @c
|
131
|
-
* stop() is not called prior to @c join(), the @c join() call will wait
|
132
|
-
* until the pool has no more outstanding work.
|
133
|
-
*/
|
134
|
-
ASIO_DECL void join();
|
135
|
-
|
136
|
-
/// Waits for threads to complete.
|
137
|
-
/**
|
138
|
-
* This function blocks until the threads in the pool have completed. If @c
|
139
|
-
* stop() is not called prior to @c wait(), the @c wait() call will wait
|
140
|
-
* until the pool has no more outstanding work.
|
141
|
-
*/
|
142
|
-
ASIO_DECL void wait();
|
143
|
-
|
144
|
-
private:
|
145
|
-
thread_pool(const thread_pool&) ASIO_DELETED;
|
146
|
-
thread_pool& operator=(const thread_pool&) ASIO_DELETED;
|
147
|
-
|
148
|
-
struct thread_function;
|
149
|
-
|
150
|
-
// Helper function to create the underlying scheduler.
|
151
|
-
ASIO_DECL detail::scheduler& add_scheduler(detail::scheduler* s);
|
152
|
-
|
153
|
-
// The underlying scheduler.
|
154
|
-
detail::scheduler& scheduler_;
|
155
|
-
|
156
|
-
// The threads in the pool.
|
157
|
-
detail::thread_group threads_;
|
158
|
-
|
159
|
-
// The current number of threads in the pool.
|
160
|
-
detail::atomic_count num_threads_;
|
161
|
-
};
|
162
|
-
|
163
|
-
/// Executor implementation type used to submit functions to a thread pool.
|
164
|
-
template <typename Allocator, unsigned int Bits>
|
165
|
-
class thread_pool::basic_executor_type : detail::thread_pool_bits
|
166
|
-
{
|
167
|
-
public:
|
168
|
-
/// The sender type, when this type is used as a scheduler.
|
169
|
-
typedef basic_executor_type sender_type;
|
170
|
-
|
171
|
-
/// The bulk execution shape type.
|
172
|
-
typedef std::size_t shape_type;
|
173
|
-
|
174
|
-
/// The bulk execution index type.
|
175
|
-
typedef std::size_t index_type;
|
176
|
-
|
177
|
-
#if defined(ASIO_HAS_DEDUCED_EXECUTION_IS_TYPED_SENDER_TRAIT) \
|
178
|
-
&& defined(ASIO_HAS_STD_EXCEPTION_PTR)
|
179
|
-
template <
|
180
|
-
template <typename...> class Tuple,
|
181
|
-
template <typename...> class Variant>
|
182
|
-
using value_types = Variant<Tuple<>>;
|
183
|
-
|
184
|
-
template <template <typename...> class Variant>
|
185
|
-
using error_types = Variant<std::exception_ptr>;
|
186
|
-
|
187
|
-
ASIO_STATIC_CONSTEXPR(bool, sends_done = true);
|
188
|
-
#endif // defined(ASIO_HAS_DEDUCED_EXECUTION_IS_TYPED_SENDER_TRAIT)
|
189
|
-
// && defined(ASIO_HAS_STD_EXCEPTION_PTR)
|
190
|
-
|
191
|
-
/// Copy constructor.
|
192
|
-
basic_executor_type(
|
193
|
-
const basic_executor_type& other) ASIO_NOEXCEPT
|
194
|
-
: pool_(other.pool_),
|
195
|
-
allocator_(other.allocator_),
|
196
|
-
bits_(other.bits_)
|
197
|
-
{
|
198
|
-
if (Bits & outstanding_work_tracked)
|
199
|
-
if (pool_)
|
200
|
-
pool_->scheduler_.work_started();
|
201
|
-
}
|
202
|
-
|
203
|
-
#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
204
|
-
/// Move constructor.
|
205
|
-
basic_executor_type(basic_executor_type&& other) ASIO_NOEXCEPT
|
206
|
-
: pool_(other.pool_),
|
207
|
-
allocator_(ASIO_MOVE_CAST(Allocator)(other.allocator_)),
|
208
|
-
bits_(other.bits_)
|
209
|
-
{
|
210
|
-
if (Bits & outstanding_work_tracked)
|
211
|
-
other.pool_ = 0;
|
212
|
-
}
|
213
|
-
#endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
214
|
-
|
215
|
-
/// Destructor.
|
216
|
-
~basic_executor_type() ASIO_NOEXCEPT
|
217
|
-
{
|
218
|
-
if (Bits & outstanding_work_tracked)
|
219
|
-
if (pool_)
|
220
|
-
pool_->scheduler_.work_finished();
|
221
|
-
}
|
222
|
-
|
223
|
-
/// Assignment operator.
|
224
|
-
basic_executor_type& operator=(
|
225
|
-
const basic_executor_type& other) ASIO_NOEXCEPT;
|
226
|
-
|
227
|
-
#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
228
|
-
/// Move assignment operator.
|
229
|
-
basic_executor_type& operator=(
|
230
|
-
basic_executor_type&& other) ASIO_NOEXCEPT;
|
231
|
-
#endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
232
|
-
|
233
|
-
/// Obtain an executor with the @c blocking.possibly property.
|
234
|
-
/**
|
235
|
-
* Do not call this function directly. It is intended for use with the
|
236
|
-
* asio::require customisation point.
|
237
|
-
*
|
238
|
-
* For example:
|
239
|
-
* @code auto ex1 = my_thread_pool.executor();
|
240
|
-
* auto ex2 = asio::require(ex1,
|
241
|
-
* asio::execution::blocking.possibly); @endcode
|
242
|
-
*/
|
243
|
-
ASIO_CONSTEXPR basic_executor_type<Allocator,
|
244
|
-
ASIO_UNSPECIFIED(Bits & ~blocking_mask)>
|
245
|
-
require(execution::blocking_t::possibly_t) const
|
246
|
-
{
|
247
|
-
return basic_executor_type<Allocator, Bits & ~blocking_mask>(
|
248
|
-
pool_, allocator_, bits_ & ~blocking_mask);
|
249
|
-
}
|
250
|
-
|
251
|
-
/// Obtain an executor with the @c blocking.always property.
|
252
|
-
/**
|
253
|
-
* Do not call this function directly. It is intended for use with the
|
254
|
-
* asio::require customisation point.
|
255
|
-
*
|
256
|
-
* For example:
|
257
|
-
* @code auto ex1 = my_thread_pool.executor();
|
258
|
-
* auto ex2 = asio::require(ex1,
|
259
|
-
* asio::execution::blocking.always); @endcode
|
260
|
-
*/
|
261
|
-
ASIO_CONSTEXPR basic_executor_type<Allocator,
|
262
|
-
ASIO_UNSPECIFIED((Bits & ~blocking_mask) | blocking_always)>
|
263
|
-
require(execution::blocking_t::always_t) const
|
264
|
-
{
|
265
|
-
return basic_executor_type<Allocator,
|
266
|
-
ASIO_UNSPECIFIED((Bits & ~blocking_mask) | blocking_always)>(
|
267
|
-
pool_, allocator_, bits_ & ~blocking_mask);
|
268
|
-
}
|
269
|
-
|
270
|
-
/// Obtain an executor with the @c blocking.never property.
|
271
|
-
/**
|
272
|
-
* Do not call this function directly. It is intended for use with the
|
273
|
-
* asio::require customisation point.
|
274
|
-
*
|
275
|
-
* For example:
|
276
|
-
* @code auto ex1 = my_thread_pool.executor();
|
277
|
-
* auto ex2 = asio::require(ex1,
|
278
|
-
* asio::execution::blocking.never); @endcode
|
279
|
-
*/
|
280
|
-
ASIO_CONSTEXPR basic_executor_type<Allocator,
|
281
|
-
ASIO_UNSPECIFIED(Bits & ~blocking_mask)>
|
282
|
-
require(execution::blocking_t::never_t) const
|
283
|
-
{
|
284
|
-
return basic_executor_type<Allocator, Bits & ~blocking_mask>(
|
285
|
-
pool_, allocator_, (bits_ & ~blocking_mask) | blocking_never);
|
286
|
-
}
|
287
|
-
|
288
|
-
/// Obtain an executor with the @c relationship.fork property.
|
289
|
-
/**
|
290
|
-
* Do not call this function directly. It is intended for use with the
|
291
|
-
* asio::require customisation point.
|
292
|
-
*
|
293
|
-
* For example:
|
294
|
-
* @code auto ex1 = my_thread_pool.executor();
|
295
|
-
* auto ex2 = asio::require(ex1,
|
296
|
-
* asio::execution::relationship.fork); @endcode
|
297
|
-
*/
|
298
|
-
ASIO_CONSTEXPR basic_executor_type require(
|
299
|
-
execution::relationship_t::fork_t) const
|
300
|
-
{
|
301
|
-
return basic_executor_type(pool_,
|
302
|
-
allocator_, bits_ & ~relationship_continuation);
|
303
|
-
}
|
304
|
-
|
305
|
-
/// Obtain an executor with the @c relationship.continuation property.
|
306
|
-
/**
|
307
|
-
* Do not call this function directly. It is intended for use with the
|
308
|
-
* asio::require customisation point.
|
309
|
-
*
|
310
|
-
* For example:
|
311
|
-
* @code auto ex1 = my_thread_pool.executor();
|
312
|
-
* auto ex2 = asio::require(ex1,
|
313
|
-
* asio::execution::relationship.continuation); @endcode
|
314
|
-
*/
|
315
|
-
ASIO_CONSTEXPR basic_executor_type require(
|
316
|
-
execution::relationship_t::continuation_t) const
|
317
|
-
{
|
318
|
-
return basic_executor_type(pool_,
|
319
|
-
allocator_, bits_ | relationship_continuation);
|
320
|
-
}
|
321
|
-
|
322
|
-
/// Obtain an executor with the @c outstanding_work.tracked property.
|
323
|
-
/**
|
324
|
-
* Do not call this function directly. It is intended for use with the
|
325
|
-
* asio::require customisation point.
|
326
|
-
*
|
327
|
-
* For example:
|
328
|
-
* @code auto ex1 = my_thread_pool.executor();
|
329
|
-
* auto ex2 = asio::require(ex1,
|
330
|
-
* asio::execution::outstanding_work.tracked); @endcode
|
331
|
-
*/
|
332
|
-
ASIO_CONSTEXPR basic_executor_type<Allocator,
|
333
|
-
ASIO_UNSPECIFIED(Bits | outstanding_work_tracked)>
|
334
|
-
require(execution::outstanding_work_t::tracked_t) const
|
335
|
-
{
|
336
|
-
return basic_executor_type<Allocator, Bits | outstanding_work_tracked>(
|
337
|
-
pool_, allocator_, bits_);
|
338
|
-
}
|
339
|
-
|
340
|
-
/// Obtain an executor with the @c outstanding_work.untracked property.
|
341
|
-
/**
|
342
|
-
* Do not call this function directly. It is intended for use with the
|
343
|
-
* asio::require customisation point.
|
344
|
-
*
|
345
|
-
* For example:
|
346
|
-
* @code auto ex1 = my_thread_pool.executor();
|
347
|
-
* auto ex2 = asio::require(ex1,
|
348
|
-
* asio::execution::outstanding_work.untracked); @endcode
|
349
|
-
*/
|
350
|
-
ASIO_CONSTEXPR basic_executor_type<Allocator,
|
351
|
-
ASIO_UNSPECIFIED(Bits & ~outstanding_work_tracked)>
|
352
|
-
require(execution::outstanding_work_t::untracked_t) const
|
353
|
-
{
|
354
|
-
return basic_executor_type<Allocator, Bits & ~outstanding_work_tracked>(
|
355
|
-
pool_, allocator_, bits_);
|
356
|
-
}
|
357
|
-
|
358
|
-
/// Obtain an executor with the specified @c allocator property.
|
359
|
-
/**
|
360
|
-
* Do not call this function directly. It is intended for use with the
|
361
|
-
* asio::require customisation point.
|
362
|
-
*
|
363
|
-
* For example:
|
364
|
-
* @code auto ex1 = my_thread_pool.executor();
|
365
|
-
* auto ex2 = asio::require(ex1,
|
366
|
-
* asio::execution::allocator(my_allocator)); @endcode
|
367
|
-
*/
|
368
|
-
template <typename OtherAllocator>
|
369
|
-
ASIO_CONSTEXPR basic_executor_type<OtherAllocator, Bits>
|
370
|
-
require(execution::allocator_t<OtherAllocator> a) const
|
371
|
-
{
|
372
|
-
return basic_executor_type<OtherAllocator, Bits>(
|
373
|
-
pool_, a.value(), bits_);
|
374
|
-
}
|
375
|
-
|
376
|
-
/// Obtain an executor with the default @c allocator property.
|
377
|
-
/**
|
378
|
-
* Do not call this function directly. It is intended for use with the
|
379
|
-
* asio::require customisation point.
|
380
|
-
*
|
381
|
-
* For example:
|
382
|
-
* @code auto ex1 = my_thread_pool.executor();
|
383
|
-
* auto ex2 = asio::require(ex1,
|
384
|
-
* asio::execution::allocator); @endcode
|
385
|
-
*/
|
386
|
-
ASIO_CONSTEXPR basic_executor_type<std::allocator<void>, Bits>
|
387
|
-
require(execution::allocator_t<void>) const
|
388
|
-
{
|
389
|
-
return basic_executor_type<std::allocator<void>, Bits>(
|
390
|
-
pool_, std::allocator<void>(), bits_);
|
391
|
-
}
|
392
|
-
|
393
|
-
/// Query the current value of the @c bulk_guarantee property.
|
394
|
-
/**
|
395
|
-
* Do not call this function directly. It is intended for use with the
|
396
|
-
* asio::query customisation point.
|
397
|
-
*
|
398
|
-
* For example:
|
399
|
-
* @code auto ex = my_thread_pool.executor();
|
400
|
-
* if (asio::query(ex, asio::execution::bulk_guarantee)
|
401
|
-
* == asio::execution::bulk_guarantee.parallel)
|
402
|
-
* ... @endcode
|
403
|
-
*/
|
404
|
-
static ASIO_CONSTEXPR execution::bulk_guarantee_t query(
|
405
|
-
execution::bulk_guarantee_t) ASIO_NOEXCEPT
|
406
|
-
{
|
407
|
-
return execution::bulk_guarantee.parallel;
|
408
|
-
}
|
409
|
-
|
410
|
-
/// Query the current value of the @c mapping property.
|
411
|
-
/**
|
412
|
-
* Do not call this function directly. It is intended for use with the
|
413
|
-
* asio::query customisation point.
|
414
|
-
*
|
415
|
-
* For example:
|
416
|
-
* @code auto ex = my_thread_pool.executor();
|
417
|
-
* if (asio::query(ex, asio::execution::mapping)
|
418
|
-
* == asio::execution::mapping.thread)
|
419
|
-
* ... @endcode
|
420
|
-
*/
|
421
|
-
static ASIO_CONSTEXPR execution::mapping_t query(
|
422
|
-
execution::mapping_t) ASIO_NOEXCEPT
|
423
|
-
{
|
424
|
-
return execution::mapping.thread;
|
425
|
-
}
|
426
|
-
|
427
|
-
/// Query the current value of the @c context property.
|
428
|
-
/**
|
429
|
-
* Do not call this function directly. It is intended for use with the
|
430
|
-
* asio::query customisation point.
|
431
|
-
*
|
432
|
-
* For example:
|
433
|
-
* @code auto ex = my_thread_pool.executor();
|
434
|
-
* asio::thread_pool& pool = asio::query(
|
435
|
-
* ex, asio::execution::context); @endcode
|
436
|
-
*/
|
437
|
-
thread_pool& query(execution::context_t) const ASIO_NOEXCEPT
|
438
|
-
{
|
439
|
-
return *pool_;
|
440
|
-
}
|
441
|
-
|
442
|
-
/// Query the current value of the @c blocking property.
|
443
|
-
/**
|
444
|
-
* Do not call this function directly. It is intended for use with the
|
445
|
-
* asio::query customisation point.
|
446
|
-
*
|
447
|
-
* For example:
|
448
|
-
* @code auto ex = my_thread_pool.executor();
|
449
|
-
* if (asio::query(ex, asio::execution::blocking)
|
450
|
-
* == asio::execution::blocking.always)
|
451
|
-
* ... @endcode
|
452
|
-
*/
|
453
|
-
ASIO_CONSTEXPR execution::blocking_t query(
|
454
|
-
execution::blocking_t) const ASIO_NOEXCEPT
|
455
|
-
{
|
456
|
-
return (bits_ & blocking_never)
|
457
|
-
? execution::blocking_t(execution::blocking.never)
|
458
|
-
: ((Bits & blocking_always)
|
459
|
-
? execution::blocking_t(execution::blocking.always)
|
460
|
-
: execution::blocking_t(execution::blocking.possibly));
|
461
|
-
}
|
462
|
-
|
463
|
-
/// Query the current value of the @c relationship property.
|
464
|
-
/**
|
465
|
-
* Do not call this function directly. It is intended for use with the
|
466
|
-
* asio::query customisation point.
|
467
|
-
*
|
468
|
-
* For example:
|
469
|
-
* @code auto ex = my_thread_pool.executor();
|
470
|
-
* if (asio::query(ex, asio::execution::relationship)
|
471
|
-
* == asio::execution::relationship.continuation)
|
472
|
-
* ... @endcode
|
473
|
-
*/
|
474
|
-
ASIO_CONSTEXPR execution::relationship_t query(
|
475
|
-
execution::relationship_t) const ASIO_NOEXCEPT
|
476
|
-
{
|
477
|
-
return (bits_ & relationship_continuation)
|
478
|
-
? execution::relationship_t(execution::relationship.continuation)
|
479
|
-
: execution::relationship_t(execution::relationship.fork);
|
480
|
-
}
|
481
|
-
|
482
|
-
/// Query the current value of the @c outstanding_work property.
|
483
|
-
/**
|
484
|
-
* Do not call this function directly. It is intended for use with the
|
485
|
-
* asio::query customisation point.
|
486
|
-
*
|
487
|
-
* For example:
|
488
|
-
* @code auto ex = my_thread_pool.executor();
|
489
|
-
* if (asio::query(ex, asio::execution::outstanding_work)
|
490
|
-
* == asio::execution::outstanding_work.tracked)
|
491
|
-
* ... @endcode
|
492
|
-
*/
|
493
|
-
static ASIO_CONSTEXPR execution::outstanding_work_t query(
|
494
|
-
execution::outstanding_work_t) ASIO_NOEXCEPT
|
495
|
-
{
|
496
|
-
return (Bits & outstanding_work_tracked)
|
497
|
-
? execution::outstanding_work_t(execution::outstanding_work.tracked)
|
498
|
-
: execution::outstanding_work_t(execution::outstanding_work.untracked);
|
499
|
-
}
|
500
|
-
|
501
|
-
/// Query the current value of the @c allocator property.
|
502
|
-
/**
|
503
|
-
* Do not call this function directly. It is intended for use with the
|
504
|
-
* asio::query customisation point.
|
505
|
-
*
|
506
|
-
* For example:
|
507
|
-
* @code auto ex = my_thread_pool.executor();
|
508
|
-
* auto alloc = asio::query(ex,
|
509
|
-
* asio::execution::allocator); @endcode
|
510
|
-
*/
|
511
|
-
template <typename OtherAllocator>
|
512
|
-
ASIO_CONSTEXPR Allocator query(
|
513
|
-
execution::allocator_t<OtherAllocator>) const ASIO_NOEXCEPT
|
514
|
-
{
|
515
|
-
return allocator_;
|
516
|
-
}
|
517
|
-
|
518
|
-
/// Query the current value of the @c allocator property.
|
519
|
-
/**
|
520
|
-
* Do not call this function directly. It is intended for use with the
|
521
|
-
* asio::query customisation point.
|
522
|
-
*
|
523
|
-
* For example:
|
524
|
-
* @code auto ex = my_thread_pool.executor();
|
525
|
-
* auto alloc = asio::query(ex,
|
526
|
-
* asio::execution::allocator); @endcode
|
527
|
-
*/
|
528
|
-
ASIO_CONSTEXPR Allocator query(
|
529
|
-
execution::allocator_t<void>) const ASIO_NOEXCEPT
|
530
|
-
{
|
531
|
-
return allocator_;
|
532
|
-
}
|
533
|
-
|
534
|
-
/// Query the occupancy (recommended number of work items) for the pool.
|
535
|
-
/**
|
536
|
-
* Do not call this function directly. It is intended for use with the
|
537
|
-
* asio::query customisation point.
|
538
|
-
*
|
539
|
-
* For example:
|
540
|
-
* @code auto ex = my_thread_pool.executor();
|
541
|
-
* std::size_t occupancy = asio::query(
|
542
|
-
* ex, asio::execution::occupancy); @endcode
|
543
|
-
*/
|
544
|
-
std::size_t query(execution::occupancy_t) const ASIO_NOEXCEPT
|
545
|
-
{
|
546
|
-
return static_cast<std::size_t>(pool_->num_threads_);
|
547
|
-
}
|
548
|
-
|
549
|
-
/// Determine whether the thread pool is running in the current thread.
|
550
|
-
/**
|
551
|
-
* @return @c true if the current thread is running the thread pool. Otherwise
|
552
|
-
* returns @c false.
|
553
|
-
*/
|
554
|
-
bool running_in_this_thread() const ASIO_NOEXCEPT;
|
555
|
-
|
556
|
-
/// Compare two executors for equality.
|
557
|
-
/**
|
558
|
-
* Two executors are equal if they refer to the same underlying thread pool.
|
559
|
-
*/
|
560
|
-
friend bool operator==(const basic_executor_type& a,
|
561
|
-
const basic_executor_type& b) ASIO_NOEXCEPT
|
562
|
-
{
|
563
|
-
return a.pool_ == b.pool_
|
564
|
-
&& a.allocator_ == b.allocator_
|
565
|
-
&& a.bits_ == b.bits_;
|
566
|
-
}
|
567
|
-
|
568
|
-
/// Compare two executors for inequality.
|
569
|
-
/**
|
570
|
-
* Two executors are equal if they refer to the same underlying thread pool.
|
571
|
-
*/
|
572
|
-
friend bool operator!=(const basic_executor_type& a,
|
573
|
-
const basic_executor_type& b) ASIO_NOEXCEPT
|
574
|
-
{
|
575
|
-
return a.pool_ != b.pool_
|
576
|
-
|| a.allocator_ != b.allocator_
|
577
|
-
|| a.bits_ != b.bits_;
|
578
|
-
}
|
579
|
-
|
580
|
-
/// Execution function.
|
581
|
-
/**
|
582
|
-
* Do not call this function directly. It is intended for use with the
|
583
|
-
* execution::execute customisation point.
|
584
|
-
*
|
585
|
-
* For example:
|
586
|
-
* @code auto ex = my_thread_pool.executor();
|
587
|
-
* execution::execute(ex, my_function_object); @endcode
|
588
|
-
*/
|
589
|
-
template <typename Function>
|
590
|
-
void execute(ASIO_MOVE_ARG(Function) f) const
|
591
|
-
{
|
592
|
-
this->do_execute(ASIO_MOVE_CAST(Function)(f),
|
593
|
-
integral_constant<bool, (Bits & blocking_always) != 0>());
|
594
|
-
}
|
595
|
-
|
596
|
-
/// Bulk execution function.
|
597
|
-
template <typename Function>
|
598
|
-
void bulk_execute(ASIO_MOVE_ARG(Function) f, std::size_t n) const
|
599
|
-
{
|
600
|
-
this->do_bulk_execute(ASIO_MOVE_CAST(Function)(f), n,
|
601
|
-
integral_constant<bool, (Bits & blocking_always) != 0>());
|
602
|
-
}
|
603
|
-
|
604
|
-
/// Schedule function.
|
605
|
-
/**
|
606
|
-
* Do not call this function directly. It is intended for use with the
|
607
|
-
* execution::schedule customisation point.
|
608
|
-
*
|
609
|
-
* @return An object that satisfies the sender concept.
|
610
|
-
*/
|
611
|
-
sender_type schedule() const ASIO_NOEXCEPT
|
612
|
-
{
|
613
|
-
return *this;
|
614
|
-
}
|
615
|
-
|
616
|
-
/// Connect function.
|
617
|
-
/**
|
618
|
-
* Do not call this function directly. It is intended for use with the
|
619
|
-
* execution::connect customisation point.
|
620
|
-
*
|
621
|
-
* @return An object of an unspecified type that satisfies the @c
|
622
|
-
* operation_state concept.
|
623
|
-
*/
|
624
|
-
template <ASIO_EXECUTION_RECEIVER_OF_0 Receiver>
|
625
|
-
#if defined(GENERATING_DOCUMENTATION)
|
626
|
-
unspecified
|
627
|
-
#else // defined(GENERATING_DOCUMENTATION)
|
628
|
-
execution::detail::as_operation<basic_executor_type, Receiver>
|
629
|
-
#endif // defined(GENERATING_DOCUMENTATION)
|
630
|
-
connect(ASIO_MOVE_ARG(Receiver) r) const
|
631
|
-
{
|
632
|
-
return execution::detail::as_operation<basic_executor_type, Receiver>(
|
633
|
-
*this, ASIO_MOVE_CAST(Receiver)(r));
|
634
|
-
}
|
635
|
-
|
636
|
-
#if !defined(ASIO_NO_TS_EXECUTORS)
|
637
|
-
/// Obtain the underlying execution context.
|
638
|
-
thread_pool& context() const ASIO_NOEXCEPT;
|
639
|
-
|
640
|
-
/// Inform the thread pool that it has some outstanding work to do.
|
641
|
-
/**
|
642
|
-
* This function is used to inform the thread pool that some work has begun.
|
643
|
-
* This ensures that the thread pool's join() function will not return while
|
644
|
-
* the work is underway.
|
645
|
-
*/
|
646
|
-
void on_work_started() const ASIO_NOEXCEPT;
|
647
|
-
|
648
|
-
/// Inform the thread pool that some work is no longer outstanding.
|
649
|
-
/**
|
650
|
-
* This function is used to inform the thread pool that some work has
|
651
|
-
* finished. Once the count of unfinished work reaches zero, the thread
|
652
|
-
* pool's join() function is permitted to exit.
|
653
|
-
*/
|
654
|
-
void on_work_finished() const ASIO_NOEXCEPT;
|
655
|
-
|
656
|
-
/// Request the thread pool to invoke the given function object.
|
657
|
-
/**
|
658
|
-
* This function is used to ask the thread pool to execute the given function
|
659
|
-
* object. If the current thread belongs to the pool, @c dispatch() executes
|
660
|
-
* the function before returning. Otherwise, the function will be scheduled
|
661
|
-
* to run on the thread pool.
|
662
|
-
*
|
663
|
-
* @param f The function object to be called. The executor will make
|
664
|
-
* a copy of the handler object as required. The function signature of the
|
665
|
-
* function object must be: @code void function(); @endcode
|
666
|
-
*
|
667
|
-
* @param a An allocator that may be used by the executor to allocate the
|
668
|
-
* internal storage needed for function invocation.
|
669
|
-
*/
|
670
|
-
template <typename Function, typename OtherAllocator>
|
671
|
-
void dispatch(ASIO_MOVE_ARG(Function) f,
|
672
|
-
const OtherAllocator& a) const;
|
673
|
-
|
674
|
-
/// Request the thread pool to invoke the given function object.
|
675
|
-
/**
|
676
|
-
* This function is used to ask the thread pool to execute the given function
|
677
|
-
* object. The function object will never be executed inside @c post().
|
678
|
-
* Instead, it will be scheduled to run on the thread pool.
|
679
|
-
*
|
680
|
-
* @param f The function object to be called. The executor will make
|
681
|
-
* a copy of the handler object as required. The function signature of the
|
682
|
-
* function object must be: @code void function(); @endcode
|
683
|
-
*
|
684
|
-
* @param a An allocator that may be used by the executor to allocate the
|
685
|
-
* internal storage needed for function invocation.
|
686
|
-
*/
|
687
|
-
template <typename Function, typename OtherAllocator>
|
688
|
-
void post(ASIO_MOVE_ARG(Function) f,
|
689
|
-
const OtherAllocator& a) const;
|
690
|
-
|
691
|
-
/// Request the thread pool to invoke the given function object.
|
692
|
-
/**
|
693
|
-
* This function is used to ask the thread pool to execute the given function
|
694
|
-
* object. The function object will never be executed inside @c defer().
|
695
|
-
* Instead, it will be scheduled to run on the thread pool.
|
696
|
-
*
|
697
|
-
* If the current thread belongs to the thread pool, @c defer() will delay
|
698
|
-
* scheduling the function object until the current thread returns control to
|
699
|
-
* the pool.
|
700
|
-
*
|
701
|
-
* @param f The function object to be called. The executor will make
|
702
|
-
* a copy of the handler object as required. The function signature of the
|
703
|
-
* function object must be: @code void function(); @endcode
|
704
|
-
*
|
705
|
-
* @param a An allocator that may be used by the executor to allocate the
|
706
|
-
* internal storage needed for function invocation.
|
707
|
-
*/
|
708
|
-
template <typename Function, typename OtherAllocator>
|
709
|
-
void defer(ASIO_MOVE_ARG(Function) f,
|
710
|
-
const OtherAllocator& a) const;
|
711
|
-
#endif // !defined(ASIO_NO_TS_EXECUTORS)
|
712
|
-
|
713
|
-
private:
|
714
|
-
friend class thread_pool;
|
715
|
-
template <typename, unsigned int> friend class basic_executor_type;
|
716
|
-
|
717
|
-
// Constructor used by thread_pool::get_executor().
|
718
|
-
explicit basic_executor_type(thread_pool& p) ASIO_NOEXCEPT
|
719
|
-
: pool_(&p),
|
720
|
-
allocator_(),
|
721
|
-
bits_(0)
|
722
|
-
{
|
723
|
-
if (Bits & outstanding_work_tracked)
|
724
|
-
pool_->scheduler_.work_started();
|
725
|
-
}
|
726
|
-
|
727
|
-
// Constructor used by require().
|
728
|
-
basic_executor_type(thread_pool* p,
|
729
|
-
const Allocator& a, unsigned int bits) ASIO_NOEXCEPT
|
730
|
-
: pool_(p),
|
731
|
-
allocator_(a),
|
732
|
-
bits_(bits)
|
733
|
-
{
|
734
|
-
if (Bits & outstanding_work_tracked)
|
735
|
-
if (pool_)
|
736
|
-
pool_->scheduler_.work_started();
|
737
|
-
}
|
738
|
-
|
739
|
-
/// Execution helper implementation for possibly and never blocking.
|
740
|
-
template <typename Function>
|
741
|
-
void do_execute(ASIO_MOVE_ARG(Function) f, false_type) const;
|
742
|
-
|
743
|
-
/// Execution helper implementation for always blocking.
|
744
|
-
template <typename Function>
|
745
|
-
void do_execute(ASIO_MOVE_ARG(Function) f, true_type) const;
|
746
|
-
|
747
|
-
/// Bulk execution helper implementation for possibly and never blocking.
|
748
|
-
template <typename Function>
|
749
|
-
void do_bulk_execute(ASIO_MOVE_ARG(Function) f,
|
750
|
-
std::size_t n, false_type) const;
|
751
|
-
|
752
|
-
/// Bulk execution helper implementation for always blocking.
|
753
|
-
template <typename Function>
|
754
|
-
void do_bulk_execute(ASIO_MOVE_ARG(Function) f,
|
755
|
-
std::size_t n, true_type) const;
|
756
|
-
|
757
|
-
// The underlying thread pool.
|
758
|
-
thread_pool* pool_;
|
759
|
-
|
760
|
-
// The allocator used for execution functions.
|
761
|
-
Allocator allocator_;
|
762
|
-
|
763
|
-
// The runtime-switched properties of the thread pool executor.
|
764
|
-
unsigned int bits_;
|
765
|
-
};
|
766
|
-
|
767
|
-
#if !defined(GENERATING_DOCUMENTATION)
|
768
|
-
|
769
|
-
namespace traits {
|
770
|
-
|
771
|
-
#if !defined(ASIO_HAS_DEDUCED_EQUALITY_COMPARABLE_TRAIT)
|
772
|
-
|
773
|
-
template <typename Allocator, unsigned int Bits>
|
774
|
-
struct equality_comparable<
|
775
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>
|
776
|
-
>
|
777
|
-
{
|
778
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
779
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
780
|
-
};
|
781
|
-
|
782
|
-
#endif // !defined(ASIO_HAS_DEDUCED_EQUALITY_COMPARABLE_TRAIT)
|
783
|
-
|
784
|
-
#if !defined(ASIO_HAS_DEDUCED_EXECUTE_MEMBER_TRAIT)
|
785
|
-
|
786
|
-
template <typename Allocator, unsigned int Bits, typename Function>
|
787
|
-
struct execute_member<
|
788
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
789
|
-
Function
|
790
|
-
>
|
791
|
-
{
|
792
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
793
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
794
|
-
typedef void result_type;
|
795
|
-
};
|
796
|
-
|
797
|
-
#endif // !defined(ASIO_HAS_DEDUCED_EXECUTE_MEMBER_TRAIT)
|
798
|
-
|
799
|
-
#if !defined(ASIO_HAS_DEDUCED_SCHEDULE_MEMBER_TRAIT)
|
800
|
-
|
801
|
-
template <typename Allocator, unsigned int Bits>
|
802
|
-
struct schedule_member<
|
803
|
-
const asio::thread_pool::basic_executor_type<Allocator, Bits>
|
804
|
-
>
|
805
|
-
{
|
806
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
807
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
808
|
-
typedef asio::thread_pool::basic_executor_type<
|
809
|
-
Allocator, Bits> result_type;
|
810
|
-
};
|
811
|
-
|
812
|
-
#endif // !defined(ASIO_HAS_DEDUCED_SCHEDULE_MEMBER_TRAIT)
|
813
|
-
|
814
|
-
#if !defined(ASIO_HAS_DEDUCED_CONNECT_MEMBER_TRAIT)
|
815
|
-
|
816
|
-
template <typename Allocator, unsigned int Bits, typename Receiver>
|
817
|
-
struct connect_member<
|
818
|
-
const asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
819
|
-
Receiver
|
820
|
-
>
|
821
|
-
{
|
822
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
823
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
824
|
-
typedef asio::execution::detail::as_operation<
|
825
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
826
|
-
Receiver> result_type;
|
827
|
-
};
|
828
|
-
|
829
|
-
#endif // !defined(ASIO_HAS_DEDUCED_CONNECT_MEMBER_TRAIT)
|
830
|
-
|
831
|
-
#if !defined(ASIO_HAS_DEDUCED_REQUIRE_MEMBER_TRAIT)
|
832
|
-
|
833
|
-
template <typename Allocator, unsigned int Bits>
|
834
|
-
struct require_member<
|
835
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
836
|
-
asio::execution::blocking_t::possibly_t
|
837
|
-
> : asio::detail::thread_pool_bits
|
838
|
-
{
|
839
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
840
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
841
|
-
typedef asio::thread_pool::basic_executor_type<
|
842
|
-
Allocator, Bits & ~blocking_mask> result_type;
|
843
|
-
};
|
844
|
-
|
845
|
-
template <typename Allocator, unsigned int Bits>
|
846
|
-
struct require_member<
|
847
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
848
|
-
asio::execution::blocking_t::always_t
|
849
|
-
> : asio::detail::thread_pool_bits
|
850
|
-
{
|
851
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
852
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
853
|
-
typedef asio::thread_pool::basic_executor_type<Allocator,
|
854
|
-
(Bits & ~blocking_mask) | blocking_always> result_type;
|
855
|
-
};
|
856
|
-
|
857
|
-
template <typename Allocator, unsigned int Bits>
|
858
|
-
struct require_member<
|
859
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
860
|
-
asio::execution::blocking_t::never_t
|
861
|
-
> : asio::detail::thread_pool_bits
|
862
|
-
{
|
863
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
864
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
865
|
-
typedef asio::thread_pool::basic_executor_type<
|
866
|
-
Allocator, Bits & ~blocking_mask> result_type;
|
867
|
-
};
|
868
|
-
|
869
|
-
template <typename Allocator, unsigned int Bits>
|
870
|
-
struct require_member<
|
871
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
872
|
-
asio::execution::relationship_t::fork_t
|
873
|
-
>
|
874
|
-
{
|
875
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
876
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
877
|
-
typedef asio::thread_pool::basic_executor_type<
|
878
|
-
Allocator, Bits> result_type;
|
879
|
-
};
|
880
|
-
|
881
|
-
template <typename Allocator, unsigned int Bits>
|
882
|
-
struct require_member<
|
883
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
884
|
-
asio::execution::relationship_t::continuation_t
|
885
|
-
>
|
886
|
-
{
|
887
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
888
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
889
|
-
typedef asio::thread_pool::basic_executor_type<
|
890
|
-
Allocator, Bits> result_type;
|
891
|
-
};
|
892
|
-
|
893
|
-
template <typename Allocator, unsigned int Bits>
|
894
|
-
struct require_member<
|
895
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
896
|
-
asio::execution::outstanding_work_t::tracked_t
|
897
|
-
> : asio::detail::thread_pool_bits
|
898
|
-
{
|
899
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
900
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
901
|
-
typedef asio::thread_pool::basic_executor_type<
|
902
|
-
Allocator, Bits | outstanding_work_tracked> result_type;
|
903
|
-
};
|
904
|
-
|
905
|
-
template <typename Allocator, unsigned int Bits>
|
906
|
-
struct require_member<
|
907
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
908
|
-
asio::execution::outstanding_work_t::untracked_t
|
909
|
-
> : asio::detail::thread_pool_bits
|
910
|
-
{
|
911
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
912
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
913
|
-
typedef asio::thread_pool::basic_executor_type<
|
914
|
-
Allocator, Bits & ~outstanding_work_tracked> result_type;
|
915
|
-
};
|
916
|
-
|
917
|
-
template <typename Allocator, unsigned int Bits>
|
918
|
-
struct require_member<
|
919
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
920
|
-
asio::execution::allocator_t<void>
|
921
|
-
>
|
922
|
-
{
|
923
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
924
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
925
|
-
typedef asio::thread_pool::basic_executor_type<
|
926
|
-
std::allocator<void>, Bits> result_type;
|
927
|
-
};
|
928
|
-
|
929
|
-
template <unsigned int Bits,
|
930
|
-
typename Allocator, typename OtherAllocator>
|
931
|
-
struct require_member<
|
932
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
933
|
-
asio::execution::allocator_t<OtherAllocator>
|
934
|
-
>
|
935
|
-
{
|
936
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
937
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = false);
|
938
|
-
typedef asio::thread_pool::basic_executor_type<
|
939
|
-
OtherAllocator, Bits> result_type;
|
940
|
-
};
|
941
|
-
|
942
|
-
#endif // !defined(ASIO_HAS_DEDUCED_REQUIRE_MEMBER_TRAIT)
|
943
|
-
|
944
|
-
#if !defined(ASIO_HAS_DEDUCED_QUERY_STATIC_CONSTEXPR_MEMBER_TRAIT)
|
945
|
-
|
946
|
-
template <typename Allocator, unsigned int Bits, typename Property>
|
947
|
-
struct query_static_constexpr_member<
|
948
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
949
|
-
Property,
|
950
|
-
typename asio::enable_if<
|
951
|
-
asio::is_convertible<
|
952
|
-
Property,
|
953
|
-
asio::execution::bulk_guarantee_t
|
954
|
-
>::value
|
955
|
-
>::type
|
956
|
-
>
|
957
|
-
{
|
958
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
959
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
960
|
-
typedef asio::execution::bulk_guarantee_t::parallel_t result_type;
|
961
|
-
|
962
|
-
static ASIO_CONSTEXPR result_type value() ASIO_NOEXCEPT
|
963
|
-
{
|
964
|
-
return result_type();
|
965
|
-
}
|
966
|
-
};
|
967
|
-
|
968
|
-
template <typename Allocator, unsigned int Bits, typename Property>
|
969
|
-
struct query_static_constexpr_member<
|
970
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
971
|
-
Property,
|
972
|
-
typename asio::enable_if<
|
973
|
-
asio::is_convertible<
|
974
|
-
Property,
|
975
|
-
asio::execution::outstanding_work_t
|
976
|
-
>::value
|
977
|
-
>::type
|
978
|
-
> : asio::detail::thread_pool_bits
|
979
|
-
{
|
980
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
981
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
982
|
-
typedef asio::execution::outstanding_work_t result_type;
|
983
|
-
|
984
|
-
static ASIO_CONSTEXPR result_type value() ASIO_NOEXCEPT
|
985
|
-
{
|
986
|
-
return (Bits & outstanding_work_tracked)
|
987
|
-
? execution::outstanding_work_t(execution::outstanding_work.tracked)
|
988
|
-
: execution::outstanding_work_t(execution::outstanding_work.untracked);
|
989
|
-
}
|
990
|
-
};
|
991
|
-
|
992
|
-
template <typename Allocator, unsigned int Bits, typename Property>
|
993
|
-
struct query_static_constexpr_member<
|
994
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
995
|
-
Property,
|
996
|
-
typename asio::enable_if<
|
997
|
-
asio::is_convertible<
|
998
|
-
Property,
|
999
|
-
asio::execution::mapping_t
|
1000
|
-
>::value
|
1001
|
-
>::type
|
1002
|
-
>
|
1003
|
-
{
|
1004
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1005
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1006
|
-
typedef asio::execution::mapping_t::thread_t result_type;
|
1007
|
-
|
1008
|
-
static ASIO_CONSTEXPR result_type value() ASIO_NOEXCEPT
|
1009
|
-
{
|
1010
|
-
return result_type();
|
1011
|
-
}
|
1012
|
-
};
|
1013
|
-
|
1014
|
-
#endif // !defined(ASIO_HAS_DEDUCED_QUERY_STATIC_CONSTEXPR_MEMBER_TRAIT)
|
1015
|
-
|
1016
|
-
#if !defined(ASIO_HAS_DEDUCED_QUERY_MEMBER_TRAIT)
|
1017
|
-
|
1018
|
-
template <typename Allocator, unsigned int Bits, typename Property>
|
1019
|
-
struct query_member<
|
1020
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
1021
|
-
Property,
|
1022
|
-
typename asio::enable_if<
|
1023
|
-
asio::is_convertible<
|
1024
|
-
Property,
|
1025
|
-
asio::execution::blocking_t
|
1026
|
-
>::value
|
1027
|
-
>::type
|
1028
|
-
>
|
1029
|
-
{
|
1030
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1031
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1032
|
-
typedef asio::execution::blocking_t result_type;
|
1033
|
-
};
|
1034
|
-
|
1035
|
-
template <typename Allocator, unsigned int Bits, typename Property>
|
1036
|
-
struct query_member<
|
1037
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
1038
|
-
Property,
|
1039
|
-
typename asio::enable_if<
|
1040
|
-
asio::is_convertible<
|
1041
|
-
Property,
|
1042
|
-
asio::execution::relationship_t
|
1043
|
-
>::value
|
1044
|
-
>::type
|
1045
|
-
>
|
1046
|
-
{
|
1047
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1048
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1049
|
-
typedef asio::execution::relationship_t result_type;
|
1050
|
-
};
|
1051
|
-
|
1052
|
-
template <typename Allocator, unsigned int Bits>
|
1053
|
-
struct query_member<
|
1054
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
1055
|
-
asio::execution::occupancy_t
|
1056
|
-
>
|
1057
|
-
{
|
1058
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1059
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1060
|
-
typedef std::size_t result_type;
|
1061
|
-
};
|
1062
|
-
|
1063
|
-
template <typename Allocator, unsigned int Bits>
|
1064
|
-
struct query_member<
|
1065
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
1066
|
-
asio::execution::context_t
|
1067
|
-
>
|
1068
|
-
{
|
1069
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1070
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1071
|
-
typedef asio::thread_pool& result_type;
|
1072
|
-
};
|
1073
|
-
|
1074
|
-
template <typename Allocator, unsigned int Bits>
|
1075
|
-
struct query_member<
|
1076
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
1077
|
-
asio::execution::allocator_t<void>
|
1078
|
-
>
|
1079
|
-
{
|
1080
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1081
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1082
|
-
typedef Allocator result_type;
|
1083
|
-
};
|
1084
|
-
|
1085
|
-
template <typename Allocator, unsigned int Bits, typename OtherAllocator>
|
1086
|
-
struct query_member<
|
1087
|
-
asio::thread_pool::basic_executor_type<Allocator, Bits>,
|
1088
|
-
asio::execution::allocator_t<OtherAllocator>
|
1089
|
-
>
|
1090
|
-
{
|
1091
|
-
ASIO_STATIC_CONSTEXPR(bool, is_valid = true);
|
1092
|
-
ASIO_STATIC_CONSTEXPR(bool, is_noexcept = true);
|
1093
|
-
typedef Allocator result_type;
|
1094
|
-
};
|
1095
|
-
|
1096
|
-
#endif // !defined(ASIO_HAS_DEDUCED_QUERY_MEMBER_TRAIT)
|
1097
|
-
|
1098
|
-
} // namespace traits
|
1099
|
-
|
1100
|
-
#endif // !defined(GENERATING_DOCUMENTATION)
|
1101
|
-
|
1102
|
-
} // namespace asio
|
1103
|
-
|
1104
|
-
#include "asio/detail/pop_options.hpp"
|
1105
|
-
|
1106
|
-
#include "asio/impl/thread_pool.hpp"
|
1107
|
-
#if defined(ASIO_HEADER_ONLY)
|
1108
|
-
# include "asio/impl/thread_pool.ipp"
|
1109
|
-
#endif // defined(ASIO_HEADER_ONLY)
|
1110
|
-
|
1111
|
-
#endif // ASIO_THREAD_POOL_HPP
|