From f017980ada0f0f89f7812e2f45155d9ddc40036e Mon Sep 17 00:00:00 2001 From: Tommi Date: Sat, 17 Feb 2018 15:00:39 +0100 Subject: [PATCH] Change typedef of PlatformThreadRef for Fuchsia from pthread_t to zx_handle_t Bug: webrtc:8893 Change-Id: I748e800f4b100b3bc3646c359e5240507ca0e03d Tbr: guidou@webrtc.org Reviewed-on: https://webrtc-review.googlesource.com/54307 Reviewed-by: Tommi Reviewed-by: Guido Urdaneta Commit-Queue: Tommi Cr-Commit-Position: refs/heads/master@{#22069} --- rtc_base/platform_thread_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtc_base/platform_thread_types.h b/rtc_base/platform_thread_types.h index e6331e75bf..72aaa4b546 100644 --- a/rtc_base/platform_thread_types.h +++ b/rtc_base/platform_thread_types.h @@ -28,7 +28,7 @@ typedef DWORD PlatformThreadId; typedef DWORD PlatformThreadRef; #elif defined(WEBRTC_FUCHSIA) typedef zx_handle_t PlatformThreadId; -typedef pthread_t PlatformThreadRef; +typedef zx_handle_t PlatformThreadRef; #elif defined(WEBRTC_POSIX) typedef pid_t PlatformThreadId; typedef pthread_t PlatformThreadRef;