From 498541f9c92b17c0faef01f39596b28006db7a11 Mon Sep 17 00:00:00 2001 From: "serg@sergbook.mylan" <> Date: Tue, 9 Nov 2004 16:34:06 +0100 Subject: [PATCH] typos fixed --- include/my_pthread.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/my_pthread.h b/include/my_pthread.h index b47cf64aa12..29d1c0bc1d9 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -674,11 +674,11 @@ extern pthread_t shutdown_th, main_th, signal_th; #ifndef thread_safe_increment #ifdef HAVE_ATOMIC_ADD -#define thread_safe_increment(V,L) atomic_inc((atomic_t*) &V); -#define thread_safe_decrement(V,L) atomic_dec((atomic_t*) &V); -#define thread_safe_dec_and_test(V, L) atomic_dec_and_test((atomic_t*) &V); -#define thread_safe_add(V,C,L) atomic_add((C),(atomic_t*) &V); -#define thread_safe_sub(V,C,L) atomic_sub((C),(atomic_t*) &V); +#define thread_safe_increment(V,L) atomic_inc((atomic_t*) &V) +#define thread_safe_decrement(V,L) atomic_dec((atomic_t*) &V) +#define thread_safe_dec_and_test(V, L) atomic_dec_and_test((atomic_t*) &V) +#define thread_safe_add(V,C,L) atomic_add((C),(atomic_t*) &V) +#define thread_safe_sub(V,C,L) atomic_sub((C),(atomic_t*) &V) #else #define thread_safe_increment(V,L) \ (pthread_mutex_lock((L)), (V)++, pthread_mutex_unlock((L)))