mulithreaded draw flicker

I am writting a maya plugin that runs in it’s own thread and draws nodes in maya’s views. I am releasing the gl context from maya and making it current in my thread and I am using the HDC from maya. My nodes are rendering fine most of the time, the problem is they occasionally don’t draw causing them to flicker. I confirmed the state of gl (enable and matrix) between threads, everything looks like it should be fine… am I missing anything, is it safe to use the HDC from maya in my thread and if not how do I get around this?

Michael Anderson
Radical Entertainment.