bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] A possible simplification of signals


From: Øystein Johansen
Subject: [Bug-gnubg] A possible simplification of signals
Date: Tue, 27 Jun 2006 12:17:19 +0200

Hi,

I'm browsing many parts of the gnubg code these days, searching for things to 
clean up.

I've found a thing that's been in GNU backgammon for ages. signals. GNU 
Backgammon uses signals to handle some interrupts for interprocess comm. (Do we 
need that at all?) and for handling playing of sounds, and for handling of 
shell escapes at the command prompt with a leading '!' (which doesn't work on 
win32 systems anyway.)

To handle signals there's some wrappers written, PortableSignal and 
PortableSignalRestore.

Is it safe to remove this stuff? We could handle shell escapes with glib's 
g_spawn functions, (maybe it will work on windows as well?), sounds can be 
handeled by a sound library (esd?), and interrupts I believe we won't need? Am 
I missing something?

-Øystein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]