Updated code based on review of ac308dcb2c34e081f9814ad40c0961a217c86fc4

Removed unnecessary spinlock and added more checks.
This commit is contained in:
Markus Makela
2015-11-02 10:29:47 +02:00
parent 6810ed15dd
commit 529e697eaf
4 changed files with 19 additions and 17 deletions

View File

@ -97,7 +97,6 @@ typedef struct config_context {
* The gateway global configuration data
*/
typedef struct {
SPINLOCK lock; /*< Lock used when accessing the global configuration */
int n_threads; /**< Number of polling threads */
char *version_string; /**< The version string of embedded database library */
char release_string[_SYSNAME_STR_LENGTH]; /**< The release name string of the system */