| 1119 | #undef MLOCK_SUGGESTION |
| 1120 | |
| 1121 | static void raw_unlock(void * addr, size_t size) { |
| 1122 | if (munlock(addr, size)) { |
| 1123 | fprintf(stderr, "warning: failed to munlock buffer: %s\n", std::strerror(errno)); |
| 1124 | } |
| 1125 | } |
| 1126 | #elif defined(_WIN32) |
| 1127 | static constexpr bool SUPPORTED = true; |
| 1128 |
nothing calls this directly
no test coverage detected