Flutter Engine
The Flutter Engine
third_party
skia
src
base
SkThreadID.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2015 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
include/private/base/SkThreadID.h
"
9
10
#ifdef SK_BUILD_FOR_WIN
11
#include "
src/base/SkLeanWindows.h
"
12
SkThreadID
SkGetThreadID
() {
return
GetCurrentThreadId(); }
13
#else
14
#include <pthread.h>
15
SkThreadID
SkGetThreadID
() {
return
(int64_t)pthread_self(); }
16
#endif
SkLeanWindows.h
SkGetThreadID
SkThreadID SkGetThreadID()
Definition:
SkThreadID.cpp:15
SkThreadID.h
SkThreadID
int64_t SkThreadID
Definition:
SkThreadID.h:16
Generated on Sun Jun 23 2024 21:56:09 for Flutter Engine by
1.9.4