Difference between revisions of "Zephyr rtos threads"

From Wiki at Neela Nurseries
Jump to: navigation, search
(Created page with " Some Zephyr RTOS API functions to learn: <ul> * k_sem_take(&lte_connected, K_FOREVER); * k_work_schedule(&connect_work, K_NO_WAIT); </ul> Unsure whether this routine a Ze...")
 
m
Line 17: Line 17:
 
  78 static struct k_work_delayable connect_work;
 
  78 static struct k_work_delayable connect_work;
 
  79 static struct k_work shadow_update_version_work;
 
  79 static struct k_work shadow_update_version_work;
 +
 +
<!-- comment -->
 +
 +
== [[#top|^]] Specific Zephyr documentation pages ==
 +
*  https://docs.zephyrproject.org/latest/reference/kernel/threads/workqueue.html?highlight=k_work_reschedule#c.k_work_reschedule
  
 
<!-- comment -->
 
<!-- comment -->

Revision as of 22:43, 28 September 2021

Some Zephyr RTOS API functions to learn:

    • k_sem_take(&lte_connected, K_FOREVER);
    • k_work_schedule(&connect_work, K_NO_WAIT);

Unsure whether this routine a Zephyr one:

 work_init();


Following non-function entities from aws_iot main.c appear important:

77 static struct k_work_delayable shadow_update_work;
78 static struct k_work_delayable connect_work;
79 static struct k_work shadow_update_version_work;


^ Specific Zephyr documentation pages