IOT-1828 Fix oc_mutex_assert_owner bug 57/19857/3
authorWay Vadhanasin <wayvad@microsoft.com>
Thu, 27 Apr 2017 17:12:45 +0000 (10:12 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Mon, 22 May 2017 11:47:50 +0000 (11:47 +0000)
commit635c82199728ad12cd20f4c52f345b1c8195c8bb
tree2da9c51893ec3c86b45762da465adf781ecba072
parent13b50cd4841c7ef131498a93f733ca1c7b6bb7e9
IOT-1828 Fix oc_mutex_assert_owner bug

When a mutex goes through the condition variable wait API, there is a
bug that causes oc_mutex_assert_owner to fail. This patch fixes that
bug.

Change-Id: I0d60188af9bce866f5ba18800292204c78daba12
Signed-off-by: Way Vadhanasin <wayvad@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19373
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19857
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
Reviewed-by: Oleksii Beketov <ol.beketov@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/c_common/octhread/src/posix/octhread.c
resource/c_common/octhread/src/windows/octhread.c