Commit 07ea05f5 authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz
Browse files

user_apps: fix race condition during initialization



If there is a request to allocate memory before domain 3 has been
inited. then, gdev = hdomain[3].dev

If  another thread tries to apps_dev_init domain 2. the device that it
will be used is the one belonging to domain 3.

Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
parent 9d990e53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment