forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

signals function in psp?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
laichung



Joined: 06 May 2005
Posts: 123

PostPosted: Thu Sep 14, 2006 5:55 pm    Post subject: signals function in psp? Reply with quote

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
View user's profile Send private message
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Fri Sep 15, 2006 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri Sep 15, 2006 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group