Commit 2e7c722
committed
fix(UBNetworkAccessManager): Use atomic_int instead of volatile
volatile is intended for hardware interaction, where changes might
not be obvious from the given code, disabling certain compiler
features.
The intended use is atomic operations, so use that instead.1 parent 31aad35 commit 2e7c722
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments