blob: ddfdfb67d05d9678bf3f255a15edf74ba9c2ffbf [file] [log] [blame]
/*
* Copyright (c) 2012 The Native Client 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 NATIVE_CLIENT_SRC_SHARED_PLATFORM_POSIX_NACL_FAST_MUTEX_H_
#define NATIVE_CLIENT_SRC_SHARED_PLATFORM_POSIX_NACL_FAST_MUTEX_H_
#include <windows.h>
#include "native_client/src/include/nacl_base.h"
/*
* Structure definition for allocatoin purposes only. We use
* placement-new style construction, so object size must be exposed.
*/
struct NaClFastMutex {
CRITICAL_SECTION mu;
int is_held;
};
#endif /* NATIVE_CLIENT_SRC_SHARED_PLATFORM_POSIX_NACL_FAST_MUTEX_H_ */