未验证 提交 31cd7eb9 编写于 作者: J Jan Vorlicek 提交者: GitHub

Remove named mutex workaround for Linux arm/arm64 (#70381)

The workaround is no longer needed as the underlying issue in
glibc was fixed in glibc 2.24 and the minimum glibc we now
support is 2.27.
上级 7066ca90
......@@ -120,15 +120,13 @@ Miscellaneous
existing shared memory, naming, and waiting infrastructure is not suitable for this purpose, and is not used.
*/
// - Temporarily disabling usage of pthread process-shared mutexes on ARM/ARM64 due to functional issues that cannot easily be
// detected with code due to hangs. See https://github.com/dotnet/runtime/issues/6014.
// - On FreeBSD, pthread process-shared robust mutexes cannot be placed in shared memory mapped independently by the processes
// involved. See https://github.com/dotnet/runtime/issues/10519.
// - On OSX, pthread robust mutexes were/are not available at the time of this writing. In case they are made available in the
// future, their use is disabled for compatibility.
#if HAVE_FULLY_FEATURED_PTHREAD_MUTEXES && \
HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES && \
!(defined(HOST_ARM) || defined(HOST_ARM64) || defined(__FreeBSD__) || defined(TARGET_OSX))
!(defined(__FreeBSD__) || defined(TARGET_OSX))
#define NAMED_MUTEX_USE_PTHREAD_MUTEX 1
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册