Skip to content

Commit bf07368

Browse files
committed
work
1 parent 1dead2e commit bf07368

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

rule_packages/c/Concurrency4.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"CON34-C": {
2121
"properties": {
22-
"obligation": "rule"
22+
"obligation": "rule"
2323
},
2424
"queries": [
2525
{
@@ -34,8 +34,21 @@
3434
"concurrency"
3535
],
3636
"implementation_scope": {
37-
"description": "This query does not consider Windows implementations or OpenMP implementations. This query is primarily about excluding cases wherein the storage duration of a variable is appropriate. As such, this query is not concerned if the appropriate synchronization mechanisms are used, such as sequencing calls to `thrd_join` and `free`. An audit query is supplied to handle those cases."
37+
"description": "This query does not consider Windows implementations or OpenMP implementations. This query is primarily about excluding cases wherein the storage duration of a variable is appropriate. As such, this query is not concerned if the appropriate synchronization mechanisms are used, such as sequencing calls to `thrd_join` and `free`. An audit query is supplied to handle some of those cases."
3838
}
39+
},
40+
{
41+
"description": "Storage durations not correctly initialized can cause unpredictable program behavior.",
42+
"kind": "problem",
43+
"name": "(Audit) Declare objects shared between threads with appropriate storage durations",
44+
"precision": "high",
45+
"severity": "error",
46+
"short_name": "ThreadObjectStorageDurationsNotInitialized",
47+
"tags": [
48+
"external/autosar/audit",
49+
"correctness",
50+
"concurrency"
51+
]
3952
}
4053
],
4154
"title": "Declare objects shared between threads with appropriate storage durations"

0 commit comments

Comments
 (0)