[ElmSharp] Fix EcoreMainloop crash issue in multi thread 62/162262/1
authorSeungkeun Lee <sngn.lee@samsung.com>
Thu, 30 Nov 2017 02:51:21 +0000 (11:51 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Thu, 30 Nov 2017 03:48:51 +0000 (03:48 +0000)
commit25d2d9afb73d551a0767fe9289fc21bec879af29
tree1a9f9e38171efdb1936dd96ee8604e0e94d1e432
parentb2b9288e566e0f5a6d5409456c9204ab41d702f4
[ElmSharp] Fix EcoreMainloop crash issue in multi thread

 - EcoreMainLoop.Post allow to call in worker thread
 - Dictionary.Add was used in Post and it didn't support multi-thread and did not protected by lock
 - So, Replace to ConcurrentDictionary

Change-Id: I0a964d49317380ba81751c4d4b1cc0484f7a39c5
src/ElmSharp/ElmSharp/EcoreMainloop.cs [changed mode: 0755->0644]