From 544221d7b3ba2b6435b754d419a12cdfd657496c Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Fri, 8 Sep 2023 14:55:45 +0800 Subject: [PATCH] doc: Update 'mutex_performance.c' --- mutex_performance.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mutex_performance.c b/mutex_performance.c index cdf11dd17..761a82534 100644 --- a/mutex_performance.c +++ b/mutex_performance.c @@ -33,10 +33,10 @@ #elif defined(USE_MCFGTHREAD) -# define my_mutex_t __gthread_mutex_t -# define my_init(m) __GTHREAD_MUTEX_INIT_FUNCTION(m) -# define my_lock(m) __gthread_mutex_lock(m) -# define my_unlock(m) __gthread_mutex_unlock(m) +# define my_mutex_t _MCF_mutex +# define my_init(m) __MCF_gthr_mutex_init(m) +# define my_lock(m) __MCF_gthr_mutex_lock(m) +# define my_unlock(m) __MCF_gthr_mutex_unlock(m) #else