diff options
Diffstat (limited to 'include/my_bitmap.h')
-rw-r--r-- | include/my_bitmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_bitmap.h b/include/my_bitmap.h index 313d3f747e3..3243e5f0b24 100644 --- a/include/my_bitmap.h +++ b/include/my_bitmap.h @@ -27,10 +27,11 @@ 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 + /* + 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 - */ + */ #ifdef THREAD pthread_mutex_t mutex; #endif |