Kill the running threads (other than current) in an unclean way. This function * should be used only when it's critical to stop the threads for some reason. * Currently Redis does this only on crash (for instance on SIGSEGV) in order * to perform a fast memory check without other threads messing with memory. */
| 1945 | * Currently Redis does this only on crash (for instance on SIGSEGV) in order |
| 1946 | * to perform a fast memory check without other threads messing with memory. */ |
| 1947 | void killThreads(void) { |
| 1948 | killServerThreads(); |
| 1949 | bioKillThreads(); |
| 1950 | } |
| 1951 | |
| 1952 | void doFastMemoryTest(void) { |
| 1953 | #if defined(HAVE_PROC_MAPS) |
no test coverage detected