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. */
| 1722 | * Currently Redis does this only on crash (for instance on SIGSEGV) in order |
| 1723 | * to perform a fast memory check without other threads messing with memory. */ |
| 1724 | void killThreads(void) { |
| 1725 | killMainThread(); |
| 1726 | bioKillThreads(); |
| 1727 | killIOThreads(); |
| 1728 | } |
| 1729 | |
| 1730 | void doFastMemoryTest(void) { |
| 1731 | #if defined(HAVE_PROC_MAPS) |
no test coverage detected