gateway/Software/Thread_communication/mutex.h

21 lines
357 B
C
Raw Normal View History

2024-07-13 02:22:47 +00:00
/*
* mutex.h
*
* Created on: 2024<EFBFBD><EFBFBD>5<EFBFBD><EFBFBD>18<EFBFBD><EFBFBD>
* Author: 34509
*/
#ifndef SOFTWARE_THREAD_COMMUNICATION_MUTEX_H_
#define SOFTWARE_THREAD_COMMUNICATION_MUTEX_H_
#include "rtthread.h"
/* <20><><EFBFBD><EFBFBD><E5BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƿ<EFBFBD> */
/* Rs485<38><35><EFBFBD><EFBFBD><E9BBA5><EFBFBD><EFBFBD> */
static rt_mutex_t protocol_mux = RT_NULL;
void mutex_Init(void);
#endif /* SOFTWARE_THREAD_COMMUNICATION_MUTEX_H_ */