Replace log custom spinlocks with SPINLOCK

This commit is contained in:
Johan Wikman
2018-01-03 13:50:00 +02:00
parent df0def9c97
commit 289ae983df
3 changed files with 21 additions and 47 deletions

View File

@ -131,9 +131,6 @@ int skygw_file_write(skygw_file_t* file,
bool flush);
/** Skygw file routines */
void acquire_lock(int* l);
void release_lock(int* l);
simple_mutex_t* simple_mutex_init(simple_mutex_t* mutexptr, const char* name);
int simple_mutex_done(simple_mutex_t* sm);
int simple_mutex_lock(simple_mutex_t* sm, bool block);