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 e1b38fb commit 82f431bCopy full SHA for 82f431b
CoreFoundation/Base.subproj/ForSwiftFoundationOnly.h
@@ -345,9 +345,15 @@ CF_EXPORT char *_Nullable *_Nonnull _CFEnviron(void);
345
346
CF_EXPORT void CFLog1(CFLogLevel lev, CFStringRef message);
347
348
-typedef pthread_attr_t _CFThreadAttributes;
+#if DEPLOYMENT_TARGET_WINDOWS
349
+typedef HANDLE _CFThreadRef;
350
+typedef DWORD _CFThreadAttributes;
351
+typedef DWORD _CFThreadSpecificKey;
352
+#elif _POSIX_THREADS
353
typedef pthread_t _CFThreadRef;
354
+typedef pthread_attr_t _CFThreadAttributes;
355
typedef pthread_key_t _CFThreadSpecificKey;
356
+#endif
357
358
CF_CROSS_PLATFORM_EXPORT Boolean _CFIsMainThread(void);
359
CF_EXPORT _CFThreadRef _CFMainPThread;
0 commit comments