Fix to the hashtable for misisng mod of hashsize

Addition of multiple reader/single writer locking mechanism
This commit is contained in:
Mark Riddoch
2013-06-24 13:09:11 +02:00
parent 69de408d8a
commit aeda47c69d
5 changed files with 156 additions and 8 deletions

View File

@ -18,6 +18,7 @@
* Copyright SkySQL Ab 2013
*/
#include <hashtable.h>
/**
* @file users.h The functions to manipulate the table of users maintained
* for each service
@ -40,6 +41,7 @@ typedef struct {
int n_deletes; /**< The number of deletes */
int n_fetches; /**< The number of fetchs */
} USERS_STATS;
/**
* The user table, this contains the username and authentication data required
* for the authentication implementation within the gateway.