From d40c2d1a3119e5855ddc187f6647d79fd2229e08 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Sat, 4 Sep 2021 07:45:16 +0000 Subject: [PATCH] Add ASIO event-loop support --- Makefile | 6 ++++++ uSockets | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8656d2..ac18361 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,12 @@ ifeq ($(WITH_LIBUV),1) override LDFLAGS += -luv endif +# WITH_ASIO=1 builds with ASIO as event-loop +ifeq ($(WITH_ASIO),1) + override CXXFLAGS += -pthread + override LDFLAGS += -lpthread +endif + # WITH_ASAN builds with sanitizers ifeq ($(WITH_ASAN),1) override CXXFLAGS += -fsanitize=address -g diff --git a/uSockets b/uSockets index 18debf8..f6b00aa 160000 --- a/uSockets +++ b/uSockets @@ -1 +1 @@ -Subproject commit 18debf82410dcc1cc083af6c36df823c603dd28d +Subproject commit f6b00aa8bf725d372b68c5f8ef9d10cac3610c21