Searched refs:record_status (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/osal_aos/example/ |
A D | event_example.c | 52 } record_status; variable 78 record_status.field2, record_status.field3, record_status.field4); in taskA_entry() 82 record_status.field1 = i; in taskA_entry() 83 record_status.field2 = i; in taskA_entry() 84 record_status.field3 = i; in taskA_entry() 85 record_status.field4 = i; in taskA_entry() 112 record_status.field2, record_status.field3, record_status.field4); in taskB_entry() 116 record_status.field1 = i; in taskB_entry() 117 record_status.field2 = i; in taskB_entry() 118 record_status.field3 = i; in taskB_entry() [all …]
|
A D | mutex_example.c | 50 } record_status; variable 73 … field2=%ld, field3=%ld, field4=%ld\n", MODULE_NAME, (void *)aos_task_self(), record_status.field1, in task_entry() 74 record_status.field2, record_status.field3, record_status.field4); in task_entry() 78 record_status.field1 = i; in task_entry() 79 record_status.field2 = i; in task_entry() 80 record_status.field3 = i; in task_entry() 81 record_status.field4 = i; in task_entry()
|
A D | sem_example.c | 51 } record_status; variable 74 … field2=%ld, field3=%ld, field4=%ld\n", MODULE_NAME, (void *)aos_task_self(), record_status.field1, in task_entry() 75 record_status.field2, record_status.field3, record_status.field4); in task_entry() 79 record_status.field1 = i; in task_entry() 80 record_status.field2 = i; in task_entry() 81 record_status.field3 = i; in task_entry() 82 record_status.field4 = i; in task_entry()
|
/AliOS-Things-master/components/osal_aos/ |
A D | README.md | 815 …调用aos_mutex_create()创建一互斥量。任务T然后调用aos_task_create()创建任务A和任务B。任务A得到运行,并获取互斥量对数据区record_status进行读写操作。 818 1. t3时刻,任务A对数据区record_status的操作完成,释放互斥量,任务B获得互斥量开始对数据区record_status进行读写操作。
|
Completed in 8 milliseconds