diff options
author | serg@serg.mylan <> | 2003-10-24 22:44:48 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2003-10-24 22:44:48 +0200 |
commit | 6e17f4f20db21964b1a7802d9f942e0aef8a4d81 (patch) | |
tree | f568d21474173997b961d12647e250178e7a7942 /include/my_bitmap.h | |
parent | d74ecc079f997221941f6631e1335a837469ed5c (diff) | |
download | mariadb-git-6e17f4f20db21964b1a7802d9f942e0aef8a4d81.tar.gz |
fixes to Bitmap class
Diffstat (limited to 'include/my_bitmap.h')
-rw-r--r-- | include/my_bitmap.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/my_bitmap.h b/include/my_bitmap.h index d3fcece290b..cff2295f45c 100644 --- a/include/my_bitmap.h +++ b/include/my_bitmap.h @@ -25,14 +25,13 @@ typedef struct st_bitmap { uchar *bitmap; uint bitmap_size; - my_bool thread_safe; /* set if several threads access the bitmap */ /* mutex will be acquired for the duration of each bitmap operation if - thread_safe flag is set. Otherwise, we optimize by not acquiring the - mutex + thread_safe flag in bitmap_init was set. Otherwise, we optimize by not + acquiring the mutex */ #ifdef THREAD - pthread_mutex_t mutex; + pthread_mutex_t *mutex; #endif } MY_BITMAP; |