Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
This commit is contained in:
@ -503,7 +503,7 @@ hashtable_read_lock(HASHTABLE *table)
|
|||||||
;
|
;
|
||||||
spinlock_acquire(&table->spin);
|
spinlock_acquire(&table->spin);
|
||||||
}
|
}
|
||||||
table->n_readers++;
|
atomic_add(&table->n_readers, 1);
|
||||||
spinlock_release(&table->spin);
|
spinlock_release(&table->spin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user