mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-10167: Major updates to lifecycle management across a number of objects changing a number of architecture related areas, fixed some little bugs, too much to remember exactly
This commit is contained in:
1 parent
87db085295
commit
5d682abd62
28 files changed
+852
-887
No files matched your search
@@ -49,6 +49,7 @@ KS_BEGIN_EXTERN_C
|
||||
#ifndef _WINSOCK_DEPRECATED_NO_WARNINGS
|
||||
#define _WINSOCK_DEPRECATED_NO_WARNINGS
|
||||
#endif
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
@@ -96,6 +97,7 @@ KS_BEGIN_EXTERN_C
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <windows.h>
|
||||
#include <crtdbg.h>
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
@@ -102,7 +102,11 @@ KS_DECLARE(void) ks_ssl_destroy_ssl_locks(void)
|
||||
|
||||
OPENSSL_free(ssl_mutexes);
|
||||
ssl_count--;
|
||||
if (ssl_pool) ks_pool_close(&ssl_pool);
|
||||
}
|
||||
|
||||
SSL_COMP_free_compression_methods();
|
||||
EVP_cleanup();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ static void *worker_thread(ks_thread_t *thread, void *data)
|
||||
void *pop = NULL;
|
||||
ks_status_t status;
|
||||
|
||||
status = ks_q_pop_timeout(tp->q, &pop, 1000);
|
||||
status = ks_q_pop_timeout(tp->q, &pop, 100);
|
||||
if (status == KS_STATUS_BREAK) {
|
||||
if (tp->state != TP_STATE_RUNNING) {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user