I have a multithreaded application using boost::thread. For performance reasons, I'd like each thread to have an independent heap.
I can create a heap using HeapCreate() but am unclear how to hook this up to the CRT library so that new and malloc allocate memory on the created heap. How can this be done?