AWS IoT Embedded C Device SDK
Main Page
Related Pages
Data Structures
Files
File List
Globals
platform
linux
pthread
threads_platform.h
1
/*
2
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License").
5
* You may not use this file except in compliance with the License.
6
* A copy of the License is located at
7
*
8
* http://aws.amazon.com/apache2.0
9
*
10
* or in the "license" file accompanying this file. This file is distributed
11
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12
* express or implied. See the License for the specific language governing
13
* permissions and limitations under the License.
14
*/
15
16
#include "
threads_interface.h
"
17
#ifdef _ENABLE_THREAD_SUPPORT_
18
#ifndef IOTSDKC_THREADS_PLATFORM_H_H
19
#define IOTSDKC_THREADS_PLATFORM_H_H
20
21
#include <pthread.h>
22
29
struct
_IoT_Mutex_t {
30
pthread_mutex_t lock;
31
};
32
33
#endif
/* IOTSDKC_THREADS_PLATFORM_H_H */
34
#endif
/* _ENABLE_THREAD_SUPPORT_ */
35
threads_interface.h
Thread interface definition for MQTT client.
Generated by
1.8.10