mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
some priority queuing tweaks for performance
This commit is contained in:
1 parent
bf060c6396
commit
8733a2c895
7 files changed
+16
-5
No files matched your search
@@ -112,6 +112,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
switch_assert(session != NULL);
|
||||
|
||||
|
||||
switch_os_yield();
|
||||
|
||||
if (switch_mutex_trylock(session->codec_read_mutex) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_mutex_unlock(session->codec_read_mutex);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user