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

Duran
Posts: 37
graphgraph

Main loop in tutorials 5 Years, 2 Months 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:

pause();

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