PDA

View Full Version : Is GLUT library thread-safe?



touch
12-18-2003, 06:50 PM
A easy problem? But I do need help.
Thanks!

mikael_aronsson
12-18-2003, 10:26 PM
No it is not, but I don't see why this is a problem, glut does not have platform independent thread support anyway so you can only use it in one thread, if you do have threads, then you can just put a mutex/critical section around the GLUT functions in question, there are not that many of them, should be done in less then half an hour or so.

Mikael