getGlobalContext()

Suppose I have a multi-threaded application that needs to compile many
independant bitcodes. All threads do compilation concurrently.
For each thread, it creates its own context like the following:
   LLVMContext *mycontext = new LLVMContext();

But it seems there are still places that explicitly refer to the
global context (like in Module.cpp). I wonder wether this is indended
or
has yet to be fixed ?

Thanks
Junjie