Fix to thread-safe when destructing vine dp 50/266750/5
authorSangyoon Jang <jeremy.jang@samsung.com>
Thu, 18 Nov 2021 07:16:35 +0000 (16:16 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 24 Nov 2021 03:34:46 +0000 (12:34 +0900)
commit7b2b6bb7ee9d83912971847809891908b204b34c
tree2567c63a7e9941fdb568dbc4378e6b742dc11859
parenta84774e7f09e0ea112d4983791e5814475b9cf9e
Fix to thread-safe when destructing vine dp

The callbacks of vine dp can be invoked by worker thread after invoking
vine_dp_destroy() by main thread.

Change-Id: I5bc26a5d2e56123b8539f05f59eb511d4904cc72
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 files changed:
cion/channel/client_channel.cc
cion/channel/group_channel.cc
cion/channel/server_channel.cc
cion/vine/vine_client_dp.cc
cion/vine/vine_dp.cc
cion/vine/vine_dp.hh
cion/vine/vine_dp_map.cc [new file with mode: 0644]
cion/vine/vine_dp_map.hh [new file with mode: 0644]
cion/vine/vine_pubsub_dp.cc
cion/vine/vine_pubsub_dp.hh
cion/vine/vine_server_dp.cc
cion/vine/vine_server_dp.hh