diff options
author | unknown <serg@sergbook.mylan> | 2004-11-09 16:34:06 +0100 |
---|---|---|
committer | unknown <serg@sergbook.mylan> | 2004-11-09 16:34:06 +0100 |
commit | f226f79fe593bb9b9041d5d656007fbe31d94936 (patch) | |
tree | 76e54914a4152e4bf08aec0c3e2fc068bb825c1f /include/my_pthread.h | |
parent | 4013552c244b6c215389063fc7c933c2c9b3b4f6 (diff) | |
download | mariadb-git-f226f79fe593bb9b9041d5d656007fbe31d94936.tar.gz |
typos fixed
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r-- | include/my_pthread.h | 10 |
1 files 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))) |