SkThreadID.h 350 B

12345678910111213141516171819
  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. #ifndef SkThreadID_DEFINED
  8. #define SkThreadID_DEFINED
  9. #include "SkTypes.h"
  10. typedef int64_t SkThreadID;
  11. SkThreadID SkGetThreadID();
  12. const SkThreadID kIllegalThreadID = 0;
  13. #endif // SkThreadID_DEFINED