Fix for App crash in GmmLib Dll

Description:pGmmGlobalContext is null in the dump.
pGmmGlobalContext is getting destroyed before the completion
of the GmmCreateSingletonContext due to some race condition between the threads.
so here adding locking machanisim to avoide deleting the
pGmmGlobalContext before the GmmCreateSingletonContext function completion.

Change-Id: Idd6cf645bc7cbf2d033955dc88650b6233689dd4
1 file changed
tree: 672a437167c4b9bfb122b0279d6c62a433f58c7f
  1. Source/
  2. Tools/
  3. .gitignore
  4. CMakeLists.txt
  5. LICENSE.md
  6. README.rst