mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-04-19 21:02:17 +03:00
Added a wsrep::thread_service interface to allow application to inject instrumented thread, mutex and condition variable implementation for provider. The interface is defined in include/wsrep/thread_service.hpp. Sample implementation is provided in dbsim/db_threads.[h|c]pp. This patch will also clean up some remaining dependencies to wsrep-API compilation units so that the dependency to wsrep-API is header only. This will extending the provider support to later wsrep-API versions.
59 lines
1.7 KiB
YAML
59 lines
1.7 KiB
YAML
---
|
|
Language: Cpp
|
|
# BasedOnStyle: WebKit
|
|
AccessModifierOffset: -4
|
|
ConstructorInitializerIndentWidth: 4
|
|
AlignEscapedNewlinesLeft: false
|
|
AlignTrailingComments: false
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AlwaysBreakTemplateDeclarations: false
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
BreakBeforeBinaryOperators: true
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: true
|
|
BinPackParameters: true
|
|
ColumnLimit: 80
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
DerivePointerAlignment: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
IndentCaseLabels: false
|
|
IndentWrappedFunctionNames: false
|
|
IndentFunctionDeclarationAfterType: false
|
|
MaxEmptyLinesToKeep: 1
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
NamespaceIndentation: All
|
|
ObjCSpaceAfterProperty: true
|
|
ObjCSpaceBeforeProtocolList: true
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PointerAlignment: Left
|
|
SpacesBeforeTrailingComments: 1
|
|
Cpp11BracedListStyle: false
|
|
Standard: Cpp11
|
|
IndentWidth: 4
|
|
TabWidth: 8
|
|
UseTab: Never
|
|
BreakBeforeBraces: Allman
|
|
SpacesInParentheses: false
|
|
SpacesInAngles: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInContainerLiterals: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
ContinuationIndentWidth: 4
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
|
SpaceBeforeParens: ControlStatements
|
|
DisableFormat: false
|
|
...
|
|
|