| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkTaskGroup_DEFINED | 8 #ifndef SkTaskGroup_DEFINED |
| 9 #define SkTaskGroup_DEFINED | 9 #define SkTaskGroup_DEFINED |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // Block until all Tasks previously add()ed to this SkTaskGroup have run(). | 28 // Block until all Tasks previously add()ed to this SkTaskGroup have run(). |
| 29 // You may safely reuse this SkTaskGroup after wait() returns. | 29 // You may safely reuse this SkTaskGroup after wait() returns. |
| 30 void wait(); | 30 void wait(); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 /*atomic*/ int32_t fPending; | 33 /*atomic*/ int32_t fPending; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 #endif//SkTaskGroup_DEFINED | 36 #endif//SkTaskGroup_DEFINED |
| OLD | NEW |