Package: bomberclone
Version: 0.11.6-1
Severity: normal

The code in bomberclone seems to perform busy loops.. it seems to 
loop calling SDL_PollEvent - so it soaks up CPU time on it's own.
Which isn't really the Unix way of coding - it should do what it needs
to and go to sleep.

SDL sample code at http://sdldoc.csn.ul.ie/sdlpollevent.php shows
the alternative approach.

This really seems to be a design issue ( and typical of the 
'single user on this machine' development approach I've seen in the past )

Not all that sure we can do much but push back upstream and request
nicer code.... 

While the busy wait issue is a pain on a single user machine, it will
cause problems on shared server ( thin clients ) environments, as all
the separate games will be soaking up as much cpu as they can get.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages bomberclone depends on:
ii  bomberclone-d 0.11.6-1                   Data files for bomberclone game
ii  libc6         2.3.2.ds1-21               GNU C Library: Shared libraries an
ii  libsdl-image1 1.2.4-1                    image loading library for Simple D
ii  libsdl-mixer1 1.2.6-1                    mixer library for Simple DirectMed
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to