From 7eab30caa50f3e3d49a29016d5c8fbc7eeffed3f Mon Sep 17 00:00:00 2001 From: Divya Sampath Kumar Date: Wed, 31 Jan 2024 20:09:24 -0800 Subject: [PATCH] Remove unused threadpool in signaling (#1907) --- src/source/Signaling/Signaling.c | 4 ---- src/source/Signaling/Signaling.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/source/Signaling/Signaling.c b/src/source/Signaling/Signaling.c index 7b9d2d1f39..5cbdca7870 100644 --- a/src/source/Signaling/Signaling.c +++ b/src/source/Signaling/Signaling.c @@ -37,10 +37,6 @@ STATUS createSignalingSync(PSignalingClientInfoInternal pClientInfo, PChannelInf CHK_STATUS(createValidateChannelInfo(pChannelInfo, &pSignalingClient->pChannelInfo)); CHK_STATUS(validateSignalingCallbacks(pSignalingClient, pCallbacks)); CHK_STATUS(validateSignalingClientInfo(pSignalingClient, pClientInfo)); -#ifdef KVS_USE_SIGNALING_CHANNEL_THREADPOOL - CHK_STATUS(threadpoolCreate(&pSignalingClient->pThreadpool, pClientInfo->signalingClientInfo.signalingMessagesMinimumThreads, - pClientInfo->signalingClientInfo.signalingMessagesMaximumThreads)); -#endif pSignalingClient->version = SIGNALING_CLIENT_CURRENT_VERSION; // Set invalid call times pSignalingClient->describeTime = INVALID_TIMESTAMP_VALUE; diff --git a/src/source/Signaling/Signaling.h b/src/source/Signaling/Signaling.h index 5b2802d74a..7f8bf52b89 100644 --- a/src/source/Signaling/Signaling.h +++ b/src/source/Signaling/Signaling.h @@ -373,10 +373,6 @@ typedef struct { UINT64 connectTime; UINT64 describeMediaTime; UINT64 answerTime; - -#ifdef KVS_USE_SIGNALING_CHANNEL_THREADPOOL - PThreadpool pThreadpool; -#endif UINT64 offerReceivedTime; UINT64 offerSentTime;