File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -859,12 +859,12 @@ from using a different variable with the same name),
859
859
please name variables so that their names do not shadow variables defined in the source code.
860
860
861
861
When using nested cycles, do not name the inner cycle variable the same as in
862
- the upper cycle, etc.
862
+ the outer cycle, etc.
863
863
864
864
Threads and synchronization
865
865
----------------------------
866
866
867
- - Prefer `Mutex` type to `RecursiveMutex` one
867
+ - Prefer `Mutex` type to `RecursiveMutex` one.
868
868
869
869
- Consistently use [Clang Thread Safety Analysis](https://clang.llvm.org/docs/ThreadSafetyAnalysis.html) annotations to
870
870
get compile-time warnings about potential race conditions in code. Combine annotations in function declarations with
@@ -943,6 +943,8 @@ TRY_LOCK(cs_vNodes, lockNodes);
943
943
Scripts
944
944
--------------------------
945
945
946
+ Write scripts in Python rather than bash, when possible.
947
+
946
948
### Shebang
947
949
948
950
- Use `#!/usr/bin/env bash` instead of obsolete `#!/bin/bash`.
@@ -1386,7 +1388,7 @@ communication:
1386
1388
```
1387
1389
1388
1390
- For consistency and friendliness to code generation tools, interface method
1389
- input and inout parameters should be ordered first and output parameters
1391
+ input and in-out parameters should be ordered first and output parameters
1390
1392
should come last.
1391
1393
1392
1394
Example:
You can’t perform that action at this time.
0 commit comments