| View previous topic :: View next topic |
| Author |
Message |
HexDump
Joined: 07 Jun 2005 Posts: 70
|
Posted: Tue Aug 16, 2005 8:40 pm Post subject: PSP Stack Size? |
|
|
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 |
|
 |
PspPet
Joined: 30 Mar 2005 Posts: 210
|
Posted: Wed Aug 17, 2005 2:27 am Post subject: |
|
|
> 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 |
|
 |
HexDump
Joined: 07 Jun 2005 Posts: 70
|
Posted: Wed Aug 17, 2005 7:02 am Post subject: |
|
|
Thanks a lot man.
HexDump. |
|
| Back to top |
|
 |
|