multi thread in opengl

The problem that I am facing in openGL is that I have two different threads (one for displaying video and one for updating the video content). Now, if I am using glutMainLoop(), it is not allowing the other thread to execute. So, if I try to render the video in real time, it is causing me problems. Has someone seen this kind of problem earlier.

Thanks & Regards