Re: need delay while key not pressed

"bilsch01" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
> ]Your code enters a hard loop where it delays forever.  Nothing changes any variable that would help the loop to end, so your OS is helpfully telling you there's a problem.


How does my OS (ubuntu) know the situation inside the loop if the loop does something every 500 msec?  That's not very often.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.