File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7236,21 +7236,21 @@ libdispatch_init(void)
72367236#ifdef SYS_gettid
72377237DISPATCH_ALWAYS_INLINE
72387238static inline pid_t
7239- __gettid (void )
7239+ _gettid (void )
72407240{
72417241 return (pid_t )syscall (SYS_gettid );
72427242}
72437243#elif defined(__FreeBSD__ )
72447244DISPATCH_ALWAYS_INLINE
72457245static inline pid_t
7246- __gettid (void )
7246+ _gettid (void )
72477247{
72487248 return (pid_t )pthread_getthreadid_np ();
72497249}
72507250#elif defined(_WIN32 )
72517251DISPATCH_ALWAYS_INLINE
72527252static inline DWORD
7253- __gettid (void )
7253+ _gettid (void )
72547254{
72557255 return GetCurrentThreadId ();
72567256}
@@ -7365,7 +7365,7 @@ libdispatch_tsd_init(void)
73657365#else
73667366 FlsSetValue (__dispatch_tsd_key , & __dispatch_tsd );
73677367#endif // defined(_WIN32)
7368- __dispatch_tsd .tid = __gettid ();
7368+ __dispatch_tsd .tid = _gettid ();
73697369}
73707370
73717371DISPATCH_NOTHROW
Original file line number Diff line number Diff line change @@ -7843,21 +7843,21 @@ libdispatch_init(void)
78437843#ifdef SYS_gettid
78447844DISPATCH_ALWAYS_INLINE
78457845static inline pid_t
7846- __gettid (void)
7846+ _gettid (void)
78477847{
78487848 return (pid_t)syscall(SYS_gettid);
78497849}
78507850#elif defined(__FreeBSD__)
78517851DISPATCH_ALWAYS_INLINE
78527852static inline pid_t
7853- __gettid (void)
7853+ _gettid (void)
78547854{
78557855 return (pid_t)pthread_getthreadid_np();
78567856}
78577857#elif defined(_WIN32)
78587858DISPATCH_ALWAYS_INLINE
78597859static inline DWORD
7860- __gettid (void)
7860+ _gettid (void)
78617861{
78627862 return GetCurrentThreadId();
78637863}
@@ -7972,7 +7972,7 @@ libdispatch_tsd_init(void)
79727972#else
79737973 FlsSetValue(__dispatch_tsd_key, &__dispatch_tsd);
79747974#endif // defined(_WIN32)
7975- __dispatch_tsd.tid = __gettid ();
7975+ __dispatch_tsd.tid = _gettid ();
79767976}
79777977
79787978DISPATCH_NOTHROW
You can’t perform that action at this time.
0 commit comments