This is not a fantasm... Why this can not work??
in a thread a loop (the glut main loop) called by Scene.run() and in a second something else, e.g. function A A want to add an object in the Scene, the it call Scene.append(anObject) and in his next step, the glutmainloop will see that there is a new object in the list... If we cannot do something like that, wheere is the parrallelism? What are the advantages of threads??!! My code is quiet simple, plz take a look. I tried to launch the glutMainLoop in a separate thread: threading.Thread(glutMainLoop).start() but the execution never reach the print 'Test 2' --> the loop freeze the program, or the program wait for start() to end... How this can not stop at this point? -- http://mail.python.org/mailman/listinfo/python-list