Make the thread killable at any time, so that kill threads functions * can work reliably (default cancelability type is PTHREAD_CANCEL_DEFERRED). * Needed for pthread_cancel used by the fast memory test used by the crash report. */
| 3791 | * can work reliably (default cancelability type is PTHREAD_CANCEL_DEFERRED). |
| 3792 | * Needed for pthread_cancel used by the fast memory test used by the crash report. */ |
| 3793 | void makeThreadKillable(void) { |
| 3794 | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); |
| 3795 | pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); |
| 3796 | } |
| 3797 | |
| 3798 | static void initNetworkingThread(int iel, int fReusePort) |
| 3799 | { |
no outgoing calls
no test coverage detected