(&self, layout: Layout)
| 15 | |
| 16 | unsafe impl<T: GlobalAlloc> GlobalAlloc for LockedAllocator<T> { |
| 17 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { |
| 18 | self.spin.lock().alloc(layout) |
| 19 | } |
| 20 | |
| 21 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { |
| 22 | self.spin.lock().dealloc(ptr, layout); |
nothing calls this directly
no outgoing calls
no test coverage detected