- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Since the defaul t timer thread priority "TX_TIMER_THREAD_PRIORITY" is set to 0, the timer callback would be called first.
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)