Hi Christopher,

Op 17-7-2018 om 10:09 schreef Christopher Faulet:
Could you try to revert the following commit please ?

 * ba86c6c25 MINOR: threads: Be sure to remove threads from all_threads_mask on exit

Without this specific commit the termination of the old process works 'properly'. That is.. for testing i used 1.9 snapshot of 20180714 and included a little patch to remove the 'atomic and'.. which is basically what that commit added..
 #ifdef USE_THREAD
-    HA_ATOMIC_AND(&all_threads_mask, ~tid_bit);
     if (tid > 0)
         pthread_exit(NULL);
 #endif

Also snapshot of 20180622 + '0461-BUG-MEDIUM-threads-Use-the-sync-point-to-che-1.9-dev0.patch' works okay.

Though i guess just reverting that line is not the right fix ;).

Regards,
PiBa-NL (Pieter)

Reply via email to