31 lines
740 B
Plaintext
31 lines
740 B
Plaintext
@startuml
|
|
!include card-uml-style.iuml
|
|
scale 900 width
|
|
hide footbox
|
|
skinparam ParticipantPadding 18
|
|
|
|
participant "main" as Main
|
|
participant "workerA ctx" as A
|
|
participant "workerB ctx" as B
|
|
participant "sum_task_entry" as Entry
|
|
participant "FreeRTOS" as Kernel
|
|
participant "supervisor" as Supervisor
|
|
|
|
Main -> A : <b>01</b> static context prepared
|
|
||34||
|
|
Main -> A : <b>02</b> create_worker(&workerA)
|
|
||34||
|
|
Main -> Kernel : <b>03</b> xTaskCreate(entry, &workerA)
|
|
activate Kernel
|
|
||34||
|
|
Kernel --> A : <b>04</b> handle != NULL; READY
|
|
deactivate Kernel
|
|
||34||
|
|
Main -> Kernel : <b>05</b> vTaskStartScheduler()
|
|
activate Kernel
|
|
|
|
note over Main,Supervisor
|
|
Continue on part 2/2 with the same participants and the same contexts.
|
|
end note
|
|
@enduml
|