diff options
author | Rene Ladan <rene@FreeBSD.org> | 2025-07-31 10:32:40 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2025-07-31 10:32:40 +0000 |
commit | 28656872b6147233ecee832b1110b4a1cf3582b3 (patch) | |
tree | c4dbe04f4881de12b06651b6ead67b2b4814a59a /databases/mongodb50/files/patch-src_mongo_platform_process__id.cpp | |
parent | a45379988e2efa54cb24a697851f004582f30c91 (diff) |
Diffstat (limited to 'databases/mongodb50/files/patch-src_mongo_platform_process__id.cpp')
-rw-r--r-- | databases/mongodb50/files/patch-src_mongo_platform_process__id.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/databases/mongodb50/files/patch-src_mongo_platform_process__id.cpp b/databases/mongodb50/files/patch-src_mongo_platform_process__id.cpp deleted file mode 100644 index 11f61a36ca08..000000000000 --- a/databases/mongodb50/files/patch-src_mongo_platform_process__id.cpp +++ /dev/null @@ -1,24 +0,0 @@ ---- src/mongo/platform/process_id.cpp.orig 2021-03-26 23:29:14 UTC -+++ src/mongo/platform/process_id.cpp -@@ -35,6 +35,10 @@ - #include <pthread.h> - #endif - -+#if defined(__FreeBSD__) -+#include <pthread_np.h> -+#endif -+ - #if defined(__linux__) - #include <sys/syscall.h> - #include <sys/types.h> -@@ -72,6 +76,10 @@ inline NativeProcessId getCurrentNativeThreadId() { - uint64_t tid; - invariant(::pthread_threadid_np(NULL, &tid) == 0); - return tid; -+} -+#elif __FreeBSD__ -+inline NativeProcessId getCurrentNativeThreadId() { -+ return pthread_getthreadid_np(); - } - #else - inline NativeProcessId getCurrentNativeThreadId() { |