----------------------------------------------------------- Do any delayed frees (put there by other threads if they deallocated in a full page) ----------------------------------------------------------- */
| 298 | (put there by other threads if they deallocated in a full page) |
| 299 | ----------------------------------------------------------- */ |
| 300 | void _mi_heap_delayed_free_all(mi_heap_t* heap) { |
| 301 | while (!_mi_heap_delayed_free_partial(heap)) { |
| 302 | mi_atomic_yield(); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | // returns true if all delayed frees were processed |
| 307 | bool _mi_heap_delayed_free_partial(mi_heap_t* heap) { |
no test coverage detected