pyopengl threading

David Honour <[email protected]> Sun, 12 Oct 2008 09:03:58 +0100
Newsgroups gmane.comp.python.opengl.devel
Message-ID <20081012090358.750f2095@gen2box>
I used to be able to thread pyopengl by creating a function that did
the tasks below and launching it in a new thread:
-prepare the gl module #this seems to be fine
-run glutMainLoop() #this seems to be causing the probs

When i try this now it acts very strangely.
print statements and other pure python things seem to go through fine,
but, when i put the call in to the socket library it doesn't happen, or
at least fails to return from the call.

Also, it now doesn't seem to behave differently when split between 2
threads, as in it is no different if i do the preparation and importing
in a different thread to the glutMainLoop() call.

PyOpenGL version  2.0.0.9-r1

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net