Example code for creation and deletion of thread

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi

I'm using WICED SDK 2.4.1 and trying create a thread and delete it later, but all I could see is that , I can create the thread-2  from thread-1 ,(thread-2 just prints 'a') and when I try to delete the thread-2 ,it is still printing/means alive. But when I checked wiced_rtos_delete_thread(&thread2) it is returning WICED_SUCESS as expected.

But still the thread2 is not deleted ?

What is wrong here ? Is there any sample application for this?

Please help

0 Likes
1 Solution
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

For sample application to creating and deleting thread please take a look this Create, Join and Delete Threads with WICED APIs.

Seyhan

View solution in original post

1 Reply
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

For sample application to creating and deleting thread please take a look this Create, Join and Delete Threads with WICED APIs.

Seyhan