blob: 9abee3a057df1618956e1ebdbcfc2604b6c109e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/3rdparty/chromium/third_party/swiftshader/src/Vulkan/VkSemaphoreExternalLinux.hpp.orig 2022-02-07 13:39:41 UTC
+++ src/3rdparty/chromium/third_party/swiftshader/src/Vulkan/VkSemaphoreExternalLinux.hpp
@@ -49,13 +49,17 @@ class SharedSemaphore (public)
{
pthread_mutexattr_t mattr;
pthread_mutexattr_init(&mattr);
+#if 0
pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED);
+#endif
pthread_mutex_init(&mutex, &mattr);
pthread_mutexattr_destroy(&mattr);
pthread_condattr_t cattr;
pthread_condattr_init(&cattr);
+#if 0
pthread_condattr_setpshared(&cattr, PTHREAD_PROCESS_SHARED);
+#endif
pthread_cond_init(&cond, &cattr);
pthread_condattr_destroy(&cattr);
}
|