Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / shared / platform / posix / nacl_threads_types.h
1 /*
2  * Copyright 2008 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 /*
8  * NaCl Server Runtime threads implementation layer.
9  */
10
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_LINUX_NACL_THREADS_TYPES_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_LINUX_NACL_THREADS_TYPES_H_
13
14 #include <pthread.h>
15
16 #include "native_client/src/include/nacl_base.h"
17
18 EXTERN_C_BEGIN
19
20 struct NaClThread {
21   pthread_t tid;
22 };
23
24 EXTERN_C_END
25
26 #endif  /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_LINUX_NACL_THREADS_TYPES_H_ */