signals function in psp?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
laichung
Posts: 123
Joined: Fri May 06, 2005 2:02 pm

signals function in psp?

Post by laichung »

Could anyone give me some hints about how to implement signals (function sigaction , sigprocmask etc) into psp development? Any link to source code is fine.

Or it just impossible to port this kind of function into psp (because that is platform depends)?

Thanks everyone
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Post by adrahil »

As far as I know, there isn't really the signal-kind thing for the PSP, since it was not meant to have different apps from different devs running on it at the same time...
You can however look into Interrupts (hardware-level signals?) and Semaphores/Event handlers (thread-level signals?)...
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

Signals are a *nix specific thing, just like that windows doesn't support them neither does the PSP. Most signals can be replaced with PSP specific functionality such as Alarms (for SIGALRM) or exception handlers for things like SIGBUS and SIGSEGV.

Due to the significant differences between the PSP kernel and a *nix kernel there is no obvious way to simulate them in the general case.
Post Reply