cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

Hi

A simple clarification

In wiced_rtos_create_thread we can specify the Priority of the thread being created , I've created a thread with WICED_APPLICATION_PRIORITY which has priority 7, and I also have a timed event function wiced_rtos_register_timed_event which is executed at a interval of 1 seconds.

So Does the timed event has high priority over the Thread created with priority of 7?

Which has the highest priority?

0 Likes
Reply
2 Replies
Employee

Hi,

Since the defaul t timer thread priority "TX_TIMER_THREAD_PRIORITY" is set to 0, the timer callback would be called first.

Seyhan

0 Likes
Reply
Anonymous
Not applicable

So If I'm doing something important in thread2 which is having a priority of 7 and on a particular timeout I want to read data via I2C which is of less priority , how can I achieve that? (Note: I already have a thread1 with priority 5)

0 Likes
Reply