1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef _CC_PAL_MUTEX_PLAT_H 8 #define _CC_PAL_MUTEX_PLAT_H 9 10 11 12 #ifdef __cplusplus 13 extern "C" 14 { 15 #endif 16 #include <pthread.h> 17 18 /** 19 * @brief File Description: 20 * This file contains functions for resource management (semaphor operations). 21 * The functions implementations are generally just wrappers to different operating system calls. 22 * None of the described functions will check the input parameters so the behavior 23 * of the APIs in illegal parameters case is dependent on the operating system behavior. 24 * 25 */ 26 27 typedef pthread_mutex_t CC_PalMutex; 28 29 30 31 /*---------------------------- 32 PUBLIC FUNCTIONS 33 -----------------------------------*/ 34 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 #endif 41 42 43