OpenGL and Multithread

I create a OpenGL render context in main thread,but how can I render scene to the context in other thread?I’m still finding the documents about the relationship of OpenGL and multithread,anyone can help me?

IIRC, OpenGL contexts can only be used in the original calling thread that it was created in. From the main thread, you could launch a thread that creates the GL context and runs the render loop.

plain example exist in SGI SDK

GL context can only be current in one thread at a time.

So you have to wglMakeCurrent(NULL, NULL);
in the main thread before making your context current in the slave/drawing thread.