From 568cf5b8cbb32036feb61076d1f79d1497073b4b Mon Sep 17 00:00:00 2001 From: mhemmatp Date: Thu, 19 Dec 2019 16:07:30 +0100 Subject: [HICN-464] swapping the initial buffer Signed-off-by: mhemmatp Change-Id: Iff7880bfc02c1ecd82b090d098c4b11268dc899c --- .../hicn-plugin/plugin/model/hicn_model.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'ctrl/sysrepo-plugins') diff --git a/ctrl/sysrepo-plugins/hicn-plugin/plugin/model/hicn_model.c b/ctrl/sysrepo-plugins/hicn-plugin/plugin/model/hicn_model.c index d73e6145a..6e95a3013 100644 --- a/ctrl/sysrepo-plugins/hicn-plugin/plugin/model/hicn_model.c +++ b/ctrl/sysrepo-plugins/hicn-plugin/plugin/model/hicn_model.c @@ -1104,15 +1104,6 @@ int hicn_subscribe_events(sr_session_ctx_t *session, int rc = SR_ERR_OK; SRP_LOG_DBGMSG("Subscriging hicn."); - // Create state thread observation - pthread_t state_tid; - rc = pthread_create((pthread_t *)&state_tid, NULL, state_thread, NULL); - if (rc != 0) { - SRP_LOG_DBGMSG("Error making hicn state thread"); - return SR_ERR_OPERATION_FAILED; - } - SRP_LOG_DBGMSG("State thread created successfully."); - //Initializing the locks for (int i=0; i