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 

PSP Stack Size?

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



Joined: 07 Jun 2005
Posts: 70

PostPosted: Tue Aug 16, 2005 8:40 pm    Post subject: PSP Stack Size? Reply with quote

Hi,

Is there any limit in stack usage for the psp? I mean, size of data I can allocate in stack has to be of a determinated size?.

HexDump.
Back to top
View user's profile Send private message
PspPet



Joined: 30 Mar 2005
Posts: 210

PostPosted: Wed Aug 17, 2005 2:27 am    Post subject: Reply with quote

> Is there any limit in stack usage for the psp?
Each thread has their own stack.
See "PSP_MAINTHREAD_STACK_SIZE_KB" in the PSPSDK. This lets you change the stack size for the main thread (started by the startup/runtime). Default looks to be a whopping 256KB in size.

For your own threads you start, you can specify the initial stack size (see "sceKernelCreateThread")
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HexDump



Joined: 07 Jun 2005
Posts: 70

PostPosted: Wed Aug 17, 2005 7:02 am    Post subject: Reply with quote

Thanks a lot man.


HexDump.
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