[ElmSharp] Fix EcoreMainloop crash issue in multi thread 56/162256/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 02:51:21 +0000 (11:51 +0900)
commit1a98ef3985e2f287cf3c78e0ce7ac40a2ca44217
tree259ba5fa4d095ae69f88885c3370d03934173475
parent7440a3ba24200a8d08380951f577d4091dbbe48e
[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]