fixing bug #120870 try to avoid problem with uninitialized mutexes Daniel

* globals.c threads.c: fixing bug #120870 try to avoid problem
  with uninitialized mutexes
Daniel
3 files changed