(self, block)
| 248 | return start, stop |
| 249 | |
| 250 | def _remove_allocated_block(self, block): |
| 251 | arena, start, stop = block |
| 252 | blocks = self._allocated_blocks[arena] |
| 253 | blocks.remove((start, stop)) |
| 254 | if not blocks: |
| 255 | # Arena is entirely free, discard it from this process |
| 256 | self._discard_arena(arena) |
| 257 | |
| 258 | def _free_pending_blocks(self): |
| 259 | # Free all the blocks in the pending list - called with the lock held. |
no test coverage detected