Add two parameterized constructors of Timer for specifying the main context 98/123498/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 6 Apr 2017 01:54:12 +0000 (10:54 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 6 Apr 2017 01:54:12 +0000 (10:54 +0900)
commit8069c3fbe5d1510586a011c6d78824e205f7208c
tree7f225b7ab8b300352adcb225df1e9f9d87b1420c
parente094a0bbf873eb16644e14e6b96cda0dbee646b2
Add two parameterized constructors of Timer for specifying the main context

Normally, a Timer object will be used within a main context,
thus it is OK to create a Timer without specifying the main context.
However, in the case that a service creates more threads,
this parameterized constructors would be convenient.

Change-Id: I835d56f220de2afc1f364ea7c816f74cd11610ce
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
include/ServiceBase.h
include/Timer.h
src/server/ServiceBase.cpp
src/server/Timer.cpp