Commit 60a68b7
folly async io_uring: set EVB for IoSqeBase derived classes
Summary:
There are two categories of IoSqeBase derived classes:
1. IoSqe in IoUringBackend
2. Various derivatives in AsyncIoUringSocket
Call `IoSqeBase::setEventBase()` from all derived classes to set/unset the EVB.
It's possible for `AsyncIoUringSocket` to detach and attach to different EVBs. Ensure that `IoSqeBase`s are synced.
Reviewed By: yfeldblum
Differential Revision: D68540579
fbshipit-source-id: 83ad739aec37378e08e4d7fd4855166af6bef2901 parent 503646e commit 60a68b7
File tree
4 files changed
+21
-4
lines changed- folly/io/async
4 files changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
868 | 869 | | |
869 | 870 | | |
870 | 871 | | |
| 872 | + | |
| 873 | + | |
871 | 874 | | |
872 | 875 | | |
873 | 876 | | |
| |||
1019 | 1022 | | |
1020 | 1023 | | |
1021 | 1024 | | |
1022 | | - | |
1023 | | - | |
| 1025 | + | |
| 1026 | + | |
1024 | 1027 | | |
1025 | 1028 | | |
1026 | 1029 | | |
| |||
1031 | 1034 | | |
1032 | 1035 | | |
1033 | 1036 | | |
| 1037 | + | |
1034 | 1038 | | |
1035 | 1039 | | |
1036 | 1040 | | |
| |||
1138 | 1142 | | |
1139 | 1143 | | |
1140 | 1144 | | |
| 1145 | + | |
1141 | 1146 | | |
1142 | 1147 | | |
1143 | 1148 | | |
| |||
1178 | 1183 | | |
1179 | 1184 | | |
1180 | 1185 | | |
| 1186 | + | |
1181 | 1187 | | |
1182 | 1188 | | |
1183 | 1189 | | |
| |||
1193 | 1199 | | |
1194 | 1200 | | |
1195 | 1201 | | |
| 1202 | + | |
1196 | 1203 | | |
1197 | 1204 | | |
1198 | 1205 | | |
| |||
1219 | 1226 | | |
1220 | 1227 | | |
1221 | 1228 | | |
| 1229 | + | |
1222 | 1230 | | |
1223 | 1231 | | |
1224 | 1232 | | |
| |||
1311 | 1319 | | |
1312 | 1320 | | |
1313 | 1321 | | |
| 1322 | + | |
1314 | 1323 | | |
1315 | 1324 | | |
1316 | 1325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
355 | 358 | | |
356 | 359 | | |
357 | 360 | | |
| |||
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
420 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
421 | 427 | | |
422 | 428 | | |
423 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
| 1261 | + | |
1261 | 1262 | | |
1262 | 1263 | | |
1263 | 1264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
| |||
0 commit comments