sensord: share the lock in physical sensors 67/57867/2
authorkibak.yoon <kibak.yoon@samsung.com>
Mon, 25 Jan 2016 11:33:32 +0000 (20:33 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Mon, 25 Jan 2016 11:47:59 +0000 (03:47 -0800)
commit0b77b5af15e4aaa6b77a6f2b48a61975db008e24
tree4f450821bc5bec35ca59745dee8faa560599d971
parent45f9953014a6f22e547159ec3ea06fd08e5ed312
sensord: share the lock in physical sensors

- lock the command flow and event flow using same mutex in
  physical_sensor

Change-Id: I8ed6c061448c56f0b09e1a6b45709c1ff8e311ca
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/physical_sensor.cpp
src/server/physical_sensor.h
src/server/sensor_base.cpp
src/server/sensor_base.h