MXS-2067: Replace SPINLOCK with pthread_mutex_t

Replaced the SPINLOCK implementation with pthread_mutex_t. The SPINLOCK
interface is still used and will be removed later on.
This commit is contained in:
Markus Mäkelä
2018-09-25 14:16:03 +03:00
parent fe81b399b2
commit fc1e36429c
6 changed files with 6 additions and 484 deletions

View File

@ -945,7 +945,6 @@ static void server_parameter_free(SERVER_PARAM* tofree)
*/
static size_t server_get_parameter_nolock(const SERVER* server, const char* name, char* out, size_t size)
{
mxb_assert(SPINLOCK_IS_LOCKED(&server->lock));
size_t len = 0;
SERVER_PARAM* param = server->parameters;