This repository was archived by the owner on Jul 8, 2022. It is now read-only.
Commit 82f1b89
committed
Change mutex used for EventSupplier::detect_change
Remove detect_mutex and protect detect_change method with
event_mutex to synchronize access to the old attribute value.
Fixes data race between:
* polling thread (EventSupplier::detect_and_push_xxx_event)
* and user thread pushing events (EventSupplier::detect_change)
This is a backport of 8d4a1bb from tango-9-lts.1 parent 0af852d commit 82f1b89
File tree
3 files changed
+23
-22
lines changed- cppapi/server
3 files changed
+23
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4462 | 4462 | | |
4463 | 4463 | | |
4464 | 4464 | | |
4465 | | - | |
4466 | | - | |
4467 | 4465 | | |
4468 | 4466 | | |
4469 | 4467 | | |
4470 | 4468 | | |
4471 | 4469 | | |
4472 | 4470 | | |
4473 | 4471 | | |
4474 | | - | |
4475 | | - | |
4476 | | - | |
4477 | | - | |
4478 | | - | |
4479 | | - | |
4480 | | - | |
4481 | | - | |
4482 | | - | |
4483 | | - | |
4484 | | - | |
4485 | 4472 | | |
4486 | 4473 | | |
4487 | 4474 | | |
| 4475 | + | |
| 4476 | + | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
| 4480 | + | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
| 4485 | + | |
| 4486 | + | |
| 4487 | + | |
| 4488 | + | |
| 4489 | + | |
| 4490 | + | |
| 4491 | + | |
4488 | 4492 | | |
4489 | 4493 | | |
4490 | 4494 | | |
| |||
4521 | 4525 | | |
4522 | 4526 | | |
4523 | 4527 | | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
4524 | 4533 | | |
4525 | 4534 | | |
4526 | 4535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1182 | 1182 | | |
1183 | 1183 | | |
1184 | 1184 | | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
1191 | 1185 | | |
1192 | 1186 | | |
1193 | 1187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| 177 | + | |
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
| |||
0 commit comments