1 /* 2 * Copyright 2012 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 SkThreadUtils_WinData_DEFINED 9 #define SkThreadUtils_WinData_DEFINED 10 11 #include "SkLeanWindows.h" 12 #include "SkThreadUtils.h" 13 14 class SkThread_WinData : SkNoncopyable { 15 public: 16 SkThread_WinData(SkThread::entryPointProc entryPoint, void* data); 17 ~SkThread_WinData(); 18 HANDLE fHandle; 19 HANDLE fCancelEvent; 20 21 LPVOID fParam; 22 DWORD fThreadId; 23 SkThread::entryPointProc fEntryPoint; 24 bool fStarted; 25 }; 26 27 #endif 28