File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7300,21 +7300,21 @@ libdispatch_init(void)
73007300#ifdef SYS_gettid
73017301DISPATCH_ALWAYS_INLINE
73027302static inline pid_t
7303- gettid (void )
7303+ _gettid (void )
73047304{
73057305 return (pid_t )syscall (SYS_gettid );
73067306}
73077307#elif defined(__FreeBSD__ )
73087308DISPATCH_ALWAYS_INLINE
73097309static inline pid_t
7310- gettid (void )
7310+ _gettid (void )
73117311{
73127312 return (pid_t )pthread_getthreadid_np ();
73137313}
73147314#elif defined(_WIN32 )
73157315DISPATCH_ALWAYS_INLINE
73167316static inline DWORD
7317- gettid (void )
7317+ _gettid (void )
73187318{
73197319 return GetCurrentThreadId ();
73207320}
@@ -7429,7 +7429,7 @@ libdispatch_tsd_init(void)
74297429#else
74307430 FlsSetValue (__dispatch_tsd_key , & __dispatch_tsd );
74317431#endif // defined(_WIN32)
7432- __dispatch_tsd .tid = gettid ();
7432+ __dispatch_tsd .tid = _gettid ();
74337433}
74347434#endif
74357435
You can’t perform that action at this time.
0 commit comments