[CONPRO-1555] oneconnect:Core / Application crashed
- In function NSConsumerMsgPushThreadFunc for locking 'msgHandleThread', there could be a
possibility of destruction of the thread running NSConsumerMsgHandleThreadFunc function
and destruction of the mutex as well at the time of locking it
- Hence handled this critical mutex with a global lock
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/657
(cherry-picked from
5289e48a0aa9ce007d44cd443dd73cc8f509fcee)
Change-Id: I1892df4276b6ffcb969a91fd23c9f3d9f3c5a959
Signed-off-by: samanway-dey <samanway.dey@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>