Use aligned memory allocation
| 75 | |
| 76 | // Use aligned memory allocation |
| 77 | static void* operator new(std::size_t size) |
| 78 | { |
| 79 | return aligned_alloc(size, LIBASYNC_CACHELINE_SIZE); |
| 80 | } |
| 81 | static void operator delete(void* ptr) |
| 82 | { |
| 83 | aligned_free(ptr); |
nothing calls this directly
no test coverage detected