Searched refs:lws_mutex_lock (Results 1 – 5 of 5) sorted by relevance
210 lws_mutex_lock(ctx->smd.lock_peers)) /* +++++++++++++++ peers */ in _lws_smd_msg_send()213 if (lws_mutex_lock(ctx->smd.lock_messages)) /* +++++++++++++++++ messages */ in _lws_smd_msg_send()464 if (lws_mutex_lock(smd->lock_messages)) /* +++++++++ messages */ in _lws_smd_peer_destroy()556 if (lws_mutex_lock(ctx->smd.lock_messages)) /* +++++++++ messages */ in _lws_smd_msg_deliver_peer()585 if (lws_mutex_lock(ctx->smd.lock_peers)) /* +++++++++++++++ peers */ in lws_smd_msg_distribute()619 lws_mutex_lock(ctx->smd.lock_peers)) { /* +++++++++++++++ peers */ in lws_smd_register()628 if (lws_mutex_lock(ctx->smd.lock_messages)) { /* +++++++++ messages */ in lws_smd_register()675 lws_mutex_lock(smd->lock_peers)) /* +++++++++++++++++++ peers */ in lws_smd_unregister()701 if (lws_mutex_lock(ctx->smd.lock_peers)) /* +++++++++++++++++++++++ peers */ in lws_smd_message_pending()703 if (lws_mutex_lock(ctx->smd.lock_messages)) /* +++++++++++++++++ messages */ in lws_smd_message_pending()
83 #define lws_mutex_lock(x) (!xSemaphoreTake(x, portMAX_DELAY)) /*0 = OK */ macro
78 #define lws_mutex_lock(x) xSemaphoreTake(x, portMAX_DELAY) macro
83 #define lws_mutex_lock(x) pthread_mutex_lock(&(x)) macro
79 #define lws_mutex_lock(x) pthread_mutex_lock(&(x)) macro