Commit Graph

12 Commits

Author SHA1 Message Date
Steven Geddis 4652a9cbdf libboostasio.h does not compile with clang-3.9 due to following error when compile if cpp17 preprocessor check: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]. Fix this by moving the bind away from preprocessor macro. Replace the STRAND_SOCKET_HANDLER, STRAND_TIMER_HANDLER macros with template functions. 2018-01-23 18:55:46 +01:00
Alessandro Pischedda fd14790166 fix boost::placeholders undefined error and remain well explicited than use just '_1' or '_2' 2018-01-18 10:08:56 +01:00
Alessandro Pischedda 97124dc604
Fix compile
remove ?boost::placeholders::' .
2018-01-17 15:20:04 +01:00
Emiel Bruijntjes d75ae2ebe1 fix compile issue because comma was missing 2017-10-24 12:54:29 +02:00
zerodefect 034e72bbc2 Added example/test application to demonstrate boost asio io_service handler. 2017-10-23 11:40:49 +01:00
zerodefect 5410f1abdd Replaced tabs with spaces in LibBoostAsioHandler 2017-10-19 16:14:21 +01:00
zerodefect cdd9918e6a Cleaned up docs/comments in LibBoostAsioHandler 2017-10-19 16:06:41 +01:00
zerodefect a9daf7e769 Added strand to LibBoostAsioHandler.h to ensure that 1 thread goes through the 'gate' (from the io_service set of threads) at any one time. 2017-10-19 15:59:40 +01:00
zerodefect 12ffe885c1 Cleaned up existing boost handler. There were a few bits that needed tidying up. 2017-10-19 14:44:29 +01:00
zerodefect e3e0c6da19 Added timer boost asio event handler to perform health checks. 2017-10-13 09:26:32 +01:00
zerodefect d1b2139af0 Cleaned up the handler upon conducting some additional testing. 2017-10-12 17:11:38 +01:00
zerodefect e9cb9fbe92 Renamed libboostasio.hpp to libboostasio.h. Added header to copied files as part of install. 2017-10-12 11:41:41 +01:00