cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nekips
Visitor
Visitor
6,775 Views
Registered: ‎08-23-2007

Thread size

Under xilkernel, is it possible to set each pthread stack size individually ?

The pthread_stack_size option in the "software plateform settings" menu  sets all thread max stack size and all thread doesn't have the same task to do, someones bigger, someones lower...

Any idea ?

Thanks.


Message Edited by nekips on 02-22-2008 10:31 AM
0 Kudos
1 Reply
uazryan
Newbie
Newbie
6,679 Views
Registered: ‎04-08-2008

Yes you can.  You have to start the tasks in your user code rather than having the MSS file/ projet configuration set them up.  When the kernel sets up your threads they have the same stack space for each of the max number of threads.
0 Kudos