| 230 | } |
| 231 | |
| 232 | void sugoi::scheduler_t::sync_storage(const sugoi_storage_t* storage) |
| 233 | { |
| 234 | if (!storage->scheduler) |
| 235 | return; |
| 236 | storage->counter.wait(true); |
| 237 | for(auto& pair : dependencyEntries) |
| 238 | { |
| 239 | if(pair.first->storage == storage) |
| 240 | { |
| 241 | for(auto& entry : pair.second) |
| 242 | { |
| 243 | entry.owned.clear(); |
| 244 | entry.shared.clear(); |
| 245 | } |
| 246 | } |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | namespace sugoi |
| 251 | { |
no test coverage detected