blob: 021e8a86ed16f1548ad53a5c446a8976f315f14e [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_LIB_MAGMA_SRC_MAGMA_UTIL_THREAD_H_
#define GARNET_LIB_MAGMA_SRC_MAGMA_UTIL_THREAD_H_
#include "platform_thread.h"
namespace magma {
class ThreadIdCheck {
public:
static bool IsCurrent(PlatformThreadId& thread_id) { return thread_id.IsCurrent(); }
};
} // namespace magma
#endif // GARNET_LIB_MAGMA_SRC_MAGMA_UTIL_THREAD_H_