We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 31838

11.1 EDK - In the sys_thread_new lwip130_1_00_a function, what is an acceptable stacksize value?


Keywords: pthread, socket, embedded, OS, RTOS, Xilkernel

In the function:

sys_thread_t sys_thread_new(char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio);

what are the acceptable values for parameter stacksize?


The stacksize parameter indicates the amount of stack space to be reserved for the thread.

In lwip130_v1_00_a, the stacksize parameter is not used.

Instead, the stack size is set to be the same as the PTHREAD_STACK_SIZE configured in Xilkernel.

AR# 31838
Date 04/28/2009
Status Active
Type General Article