This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.

[PATCH] Initial commit of Networking TS implementation

From: Jonathan Wakely <jwakely at redhat dot com>

To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org

Date: Fri, 12 Oct 2018 11:50:26 +0100

Subject: [PATCH] Initial commit of Networking TS implementation

This implementation is very incomplete (see the various TODO comments in the code) but rather than keeping it out of tree any longer I'm committing it to trunk. This will allow others to experiment with it and (I hope) work on finishing it. Either way we'll ship somehing for gcc 9. It works OK for some synchronous operations, but most of the async ops are not done yet. * include/Makefile.am: Add new headers. * include/Makefile.in: Regenerate. * include/experimental/bits/net.h: New header for common implementation details of Networking TS. * include/experimental/buffer: New header. * include/experimental/executor: New header. * include/experimental/internet: New header. * include/experimental/io_context: New header. * include/experimental/net: New header. * include/experimental/netfwd: New header. * include/experimental/socket: New header. * include/experimental/timer: New header. * testsuite/experimental/net/buffer/arithmetic.cc: New test. * testsuite/experimental/net/buffer/const.cc: New test. * testsuite/experimental/net/buffer/creation.cc: New test. * testsuite/experimental/net/buffer/mutable.cc: New test. * testsuite/experimental/net/buffer/size.cc: New test. * testsuite/experimental/net/buffer/traits.cc: New test. * testsuite/experimental/net/execution_context/use_service.cc: New test. * testsuite/experimental/net/headers.cc: New test. * testsuite/experimental/net/internet/address/v4/comparisons.cc: New test. * testsuite/experimental/net/internet/address/v4/cons.cc: New test. * testsuite/experimental/net/internet/address/v4/creation.cc: New test. * testsuite/experimental/net/internet/address/v4/members.cc: New test. * testsuite/experimental/net/internet/resolver/base.cc: New test. * testsuite/experimental/net/internet/resolver/ops/lookup.cc: New test. * testsuite/experimental/net/internet/resolver/ops/reverse.cc: New test. * testsuite/experimental/net/timer/waitable/cons.cc: New test. * testsuite/experimental/net/timer/waitable/dest.cc: New test. * testsuite/experimental/net/timer/waitable/ops.cc: New test. Tested x86_64-linux, committed to trunk.