2 * Copyright 2012 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #include "SkCountdown.h"
11 SkCountdown::SkCountdown(int32_t count)
14 void SkCountdown::reset(int32_t count) {
18 void SkCountdown::run() {
19 if (sk_atomic_dec(&fCount) == 1) {
26 void SkCountdown::wait() {