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 "include/core/SkTypes.h"
12
13typedef int64_t SkThreadID;
14
15// SkMutex.h uses SkGetThredID in debug only code.
16SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID();
17
18const SkThreadID kIllegalThreadID = 0;
19
20#endif // SkThreadID_DEFINED
21