[Theverse-developer] threading

Reid Nichol sigma at fireflylabs.ca
Fri Mar 9 07:03:36 CET 2007


Hi:
  I've been playing around with timing with pthreads.  I've tried
various ways of getting the controlling thread to sleep and post
redisplay command to no success.  The entire program tries seems to
sleep even though the functions are stated to be thread safe, the
redisplays don't seem to be acknowledged, etc.

  But, I just tried doing this through glutTimerFunc.  It seems to be
working for the test rendering.  I'm not sure how the glutMainLoop
works precisely.  So, I'm not sure if I'll still need things like
mutex's or not (though I doubt it).

  If this does change, then obviously the design will have to
accommodate.  So, coding wise, things shouldn't be assumed to be
stable over the next little while for theVerse.

  Just a heads up.

-- 
best regards,
Reid Nichol

wait
worry
who cares?



More information about the Theverse-developer mailing list