gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > signal.h

#104688 - OOPMan - Sun Oct 01, 2006 4:20 pm

Just a quick question. Is the underlying code for the functions defined in signal.h (The POSIX signal API) implemented in devkitPro r19b?
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#104697 - tepples - Sun Oct 01, 2006 5:07 pm

If it is not, then do you want your program to send itself a signal or to send some other program a signal?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#104699 - OOPMan - Sun Oct 01, 2006 5:36 pm

The program needs to signal itself. This is actually in relation implementing the pre-emptive scheduling in MTCLib for the NDS. The skeleton code for the library's platform adapation layer includes code that uses stuff from signal.h

It's not really a problem, though, since I can probably duplicate the required behaviour with a timer that interrupts to a the pre-emption function...
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...