This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

creating thread inside another thread

Hi all,

I am using lwip stack for my controller. Here i am creating a thread using function 

sys_thread_new("tcpecho_thread", FTP_thread, NULL, 4000, DEFAULT_THREAD_PRIO);

Here thread is created everything is fine. But in this thread i am going to create one more thread and giving size is 1000.

with out errors it is fine, but when i run my code i am always getting "task creation failed".

i am suspecting size issues, or any issue please help me anyone.

Thanks