| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkCondVar_DEFINED | 8 #ifndef SkCondVar_DEFINED |
| 9 #define SkCondVar_DEFINED | 9 #define SkCondVar_DEFINED |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #ifdef SK_USE_POSIX_THREADS | 69 #ifdef SK_USE_POSIX_THREADS |
| 70 pthread_mutex_t fMutex; | 70 pthread_mutex_t fMutex; |
| 71 pthread_cond_t fCond; | 71 pthread_cond_t fCond; |
| 72 #elif defined(SK_BUILD_FOR_WIN32) | 72 #elif defined(SK_BUILD_FOR_WIN32) |
| 73 CRITICAL_SECTION fCriticalSection; | 73 CRITICAL_SECTION fCriticalSection; |
| 74 CONDITION_VARIABLE fCondition; | 74 CONDITION_VARIABLE fCondition; |
| 75 #endif | 75 #endif |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif | 78 #endif |
| OLD | NEW |