Fix potential race condition problem 29/196929/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 8 Jan 2019 04:37:29 +0000 (13:37 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Tue, 8 Jan 2019 04:48:36 +0000 (13:48 +0900)
commitd3ff11ed137b944e0288edb58da8e0275fb26913
tree8f82d810f3705ed3bbd065b1c63ec7a12a4d33d9
parentbae26a719d7a40ab2e82f7a8e09c0a53d65fd25b
Fix potential race condition problem

There was a potential race condition because of using global hash table
for storing getsize callback information. The getsize can be invoked by
multiple thread in same time, so this global hashtable should be removed.

Change-Id: I78ff68c085f73031a7fb76ace660cf3c497519f0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/package_manager.c