[bitcoin/bitcoin] Thread names in logs and deadlock debug tools (take 2) (#13168)

jamesob commented on this pull request.

> @@ -759,8 +759,21 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([
}
])],
[
– AC_DEFINE(HAVE_THREAD_LOCAL,1,[Define if thread_local is supported.])
– AC_MSG_RESULT(yes)
+ case $host in
+ *mingw*)
+ # mingw32’s implementation of thread_local has also been shown to behave
+ # erroneously under concurrent usage; see:
+ # https://gist.github.com/jamesob/fe9a872051a88b2025b1aa37bfa98605
+ AC_MSG_RESULT(no)
+ ;;
+ *darwin*)
+ AC_MSG_RESULT(no)

Added, thanks.

This post was last modified on June 14, 2018, 4:36 pm