We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd4568a commit ad5b88aCopy full SHA for ad5b88a
storage/xtradb/os/os0thread.cc
@@ -220,10 +220,19 @@ void
220
os_thread_join(
221
os_thread_t thread)
222
{
223
+ /*This function is currently only used to workaround glibc bug
224
+ described in http://bugs.mysql.com/bug.php?id=82886
225
+
226
+ On Windows, no workarounds are necessary, all threads
227
+ are "detached" upon thread exit (handle is closed), so we do
228
+ nothing.
229
+ */
230
+#ifndef _WIN32
231
int ret MY_ATTRIBUTE((unused)) = pthread_join(thread, NULL);
232
233
/* Waiting on already-quit threads is allowed */
234
ut_ad(ret == 0 || ret == ESRCH);
235
+#endif
236
}
237
238
/*****************************************************************//**
0 commit comments