Advertisement

X/Motif and GLUT question

Started by August 20, 2001 12:47 PM
0 comments, last by Roach 23 years, 6 months ago
Hi guys Quick question. Now I know you cannot use GLUT and X/Motif in the same application (executiable) on the same machine. But can you run an executiable that uses X/motif at the same time that you are running an OpenGL project that uses GLUT, or will they intefear with each other? I assume that you can, but I just want some clarification. Thanks Roach
Well, I know nothing about X/Motif and how it runs, but if you can run them in two separate applications, you can run them in one by "cheating".

Spawn a 2nd thread off and denote one of your threads as the GLUT thread and the other as the X/Motif thread. Then separate all of the code going one way in one thread and similarly for the other thread. That''ll allow them to use the same variable space and not have to do odd stuff (like CORBA) to sync them up together.

Dragonus
Thought of the Moment
If F = ma, and Work = Fd, then does Work = mad?

This topic is closed to new replies.

Advertisement