mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-15670 - unit.my_atomic failed in buildbot with Signal 11 thrown
Workaround glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20116 by making unittest threads joinable. It makes code better anyway.
This commit is contained in:
@ -136,10 +136,8 @@ retry:
|
||||
pthread_mutex_unlock(&lock);
|
||||
pthread_mutex_unlock(& thds[id].lock);
|
||||
wt_thd_destroy(& thds[id].thd);
|
||||
|
||||
if (!--running_threads) /* now, signal when everybody is done with deinit */
|
||||
pthread_cond_signal(&cond);
|
||||
pthread_mutex_unlock(&mutex);
|
||||
|
||||
DBUG_PRINT("wt", ("exiting"));
|
||||
my_thread_end();
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user