Disko Forum logo Login  |  Register  |  Lost Password
Main loop in tutorials

Posts: 37

Main loop in tutorials 12 Years, 1 Month ago  
Dear all,

As I've read in the tutorials, the main thread has nothing to do with the show is shown, so it executes:

while (1) sleep(1);

My suggestion is replace the previous line with:


It stops the thread and waits for a signal. The changes, if interested, should be applied to firststep 01, 02 and 03 and flash and in disko-demos.

Thanks and Best Regards,
Joaquim Duran
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop