| View previous topic :: View next topic |
| Author |
Message |
laichung
Joined: 06 May 2005 Posts: 123
|
Posted: Thu Sep 14, 2006 5:55 pm Post subject: signals function in psp? |
|
|
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 |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Fri Sep 15, 2006 4:22 am Post subject: |
|
|
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?)... |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Fri Sep 15, 2006 4:36 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|