Skip to content

Initialize and destroy mutexes and conditions to be consistent with the rest of the codebase#3608

Open
Frenzie wants to merge 1 commit intomeetecho:masterfrom
Frenzie:mutex-condition-consistency
Open

Initialize and destroy mutexes and conditions to be consistent with the rest of the codebase#3608
Frenzie wants to merge 1 commit intomeetecho:masterfrom
Frenzie:mutex-condition-consistency

Conversation

@Frenzie
Copy link

@Frenzie Frenzie commented Nov 13, 2025

  • suspend_cond_mutex the same as every other mutex in janus_audiobridge.c (and elsewhere)
  • suspend_cond the same as in src/transports/janus_mqtt.c

janus_mutex_init(&ctx->disconnect.mutex);
janus_condition_init(&ctx->disconnect.cond);

janus_mutex_destroy(&ctx->disconnect.mutex);
janus_condition_destroy(&ctx->disconnect.cond);

…he rest of the codebase

* suspend_cond_mutex the same as every other mutex in janus_audiobridge.c (and elsewhere)
* suspend_cond the same as in src/transports/janus_mqtt.c
@januscla
Copy link

Thanks for your contribution, @Frenzie! Please make sure you sign our CLA, as it's a required step before we can merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants