-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(breaking): 10.1 - socket engines, refactor, remove dpp::sync (#1334
- Loading branch information
Showing
150 changed files
with
4,013 additions
and
6,636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# TODO: Discuss about -readability-identifier-length, -readability-avoid-const-params-in-decls | ||
Checks: "-*,bugprone-*,cert-*,clang-analyzer-*,concurrency-*,cppcoreguidelines-*,llvm-namespace-comment,modernize-*,performance-*,portability-*,readability-*,-bugprone-implicit-widening-of-multiplication-result, -bugprone-easily-swappable-parameters,-readability-identifier-length,-portability-restrict-system-includes,-modernize-use-trailing-return-type,-cppcoreguidelines-non-private-member-variables-in-classes,-readability-avoid-const-params-in-decls" | ||
Checks: "-*,bugprone-*,cert-*,clang-analyzer-*,concurrency-*,cppcoreguidelines-*,llvm-namespace-comment,modernize-*,performance-*,portability-*,readability-*,-bugprone-implicit-widening-of-multiplication-result,-bugprone-easily-swappable-parameters,-readability-identifier-length,-portability-restrict-system-includes,-modernize-use-trailing-return-type,-cppcoreguidelines-non-private-member-variables-in-classes,-readability-avoid-const-params-in-decls,-cppcoreguidelines-owning-memory,-readability-function-cognitive-complexity,-cppcoreguidelines-avoid-do-while" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
macro(CHECK_EPOLL VARIABLE) | ||
if(UNIX) | ||
if("${VARIABLE}" MATCHES "^${VARIABLE}$") | ||
message(STATUS "Check if the system supports epoll") | ||
include(CheckSymbolExists) | ||
check_symbol_exists(epoll_create "sys/epoll.h" EPOLL_PROTOTYPE_EXISTS) | ||
|
||
if(EPOLL_PROTOTYPE_EXISTS) | ||
message(STATUS "Check if the system supports epoll - yes") | ||
set(${VARIABLE} 1 CACHE INTERNAL "Result of CHECK_EPOLL" FORCE) | ||
else(EPOLL_PROTOTYPE_EXISTS) | ||
message(STATUS "Check if the system supports epoll - no") | ||
set(${VARIABLE} "" CACHE INTERNAL "Result of CHECK_EPOLL" FORCE) | ||
endif(EPOLL_PROTOTYPE_EXISTS) | ||
endif("${VARIABLE}" MATCHES "^${VARIABLE}$") | ||
endif(UNIX) | ||
endmacro(CHECK_EPOLL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
macro(CHECK_KQUEUE VARIABLE) | ||
if(UNIX) | ||
if("${VARIABLE}" MATCHES "^${VARIABLE}$") | ||
message(STATUS "Check if the system supports kqueue") | ||
include(CheckSymbolExists) | ||
check_symbol_exists(kqueue "sys/event.h" KQUEUE_PROTOTYPE_EXISTS) | ||
|
||
if(KQUEUE_PROTOTYPE_EXISTS) | ||
message(STATUS "Check if the system supports kqueue - yes") | ||
set(${VARIABLE} 1 CACHE INTERNAL "Result of CHECK_KQUEUE" FORCE) | ||
else(KQUEUE_PROTOTYPE_EXISTS) | ||
message(STATUS "Check if the system supports kqueue - no") | ||
set(${VARIABLE} "" CACHE INTERNAL "Result of CHECK_KQUEUE" FORCE) | ||
endif(KQUEUE_PROTOTYPE_EXISTS) | ||
endif("${VARIABLE}" MATCHES "^${VARIABLE}$") | ||
endif(UNIX) | ||
endmacro(CHECK_KQUEUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.