Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 #ifndef SkThreadID_DEFINED | |
| 9 #define SkThreadID_DEFINED | |
| 10 | |
| 11 #include "SkTypes.h" | |
| 12 | |
| 13 typedef int64_t SkThreadID; | |
| 14 | |
| 15 SkThreadID SkGetThreadID(); | |
| 16 | |
| 17 const SkThreadID kIllegalThreadID = 0; | |
|
mtklein
2015/09/29 20:48:25
static? or ODR silently cuts our head off, right?
| |
| 18 | |
| 19 #endif // SkThreadID_DEFINED | |
| OLD | NEW |