Commit ffc5bfc
authored
Interpreter support for waitqueue (#8450)
Part of #8315. We only support non-blocking cases where the timeout is 0
or the control word doesn't match, similar to memory.atomic.wait /
memory.atomic.notify:
[link](https://github.com/WebAssembly/binaryen/blob/a76d270ac6402f3a5ec268d22a2ccca3d0fb6680/src/wasm-interpreter.h#L4114-L4152).
Small drive-by fix to use brace-initialization instead of functional
casts for int constants.1 parent a76d270 commit ffc5bfc
2 files changed
Lines changed: 55 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2237 | 2237 | | |
2238 | 2238 | | |
2239 | 2239 | | |
2240 | | - | |
2241 | | - | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2242 | 2262 | | |
2243 | 2263 | | |
2244 | 2264 | | |
2245 | | - | |
2246 | | - | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2247 | 2272 | | |
2248 | 2273 | | |
2249 | 2274 | | |
| |||
4127 | 4152 | | |
4128 | 4153 | | |
4129 | 4154 | | |
4130 | | - | |
| 4155 | + | |
4131 | 4156 | | |
4132 | 4157 | | |
4133 | 4158 | | |
| |||
4137 | 4162 | | |
4138 | 4163 | | |
4139 | 4164 | | |
4140 | | - | |
| 4165 | + | |
4141 | 4166 | | |
4142 | 4167 | | |
4143 | 4168 | | |
| |||
4148 | 4173 | | |
4149 | 4174 | | |
4150 | 4175 | | |
4151 | | - | |
| 4176 | + | |
4152 | 4177 | | |
4153 | 4178 | | |
4154 | 4179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | | - | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
0 commit comments