@startuml

'!pragma teoz true

title Platform threads

scale 1.1
hide footbox
skinparam monochrome true
skinparam defaultFontName Source Sans Pro
skinparam titleFontSize 15
skinparam titleFontStyle normal
skinparam sequenceMessageAlign left
skinparam participantBackgroundColor #white
skinparam noteBackgroundColor #white
skinparam sequenceGroupBackgroundColor #white

participant "platform\nthread 1" as PlatformThread1
participant "platform\nthread 2" as PlatformThread2
participant "service" as Service

||10||

->> PlatformThread1 ++
'activate PlatformThread1
& PlatformThread1->>Service --++
'activate Service
'deactivate PlatformThread1
& <<-- PlatformThread1
'activate PlatformThread1 #gray

'->> PlatformThread2
'activate PlatformThread2
'PlatformThread2->>Service
'deactivate PlatformThread2
'<-[hidden]- PlatformThread2
'activate PlatformThread2 #gray

||60||

Service->>PlatformThread1 --++
'deactivate Service
'deactivate PlatformThread1
'& <<-[hidden]- PlatformThread1
'activate PlatformThread1
'<<- PlatformThread1
'deactivate PlatformThread1

'Service->>PlatformThread2
'deactivate Service
'deactivate PlatformThread2
'<-[hidden]- PlatformThread2
'activate PlatformThread2
'<<- PlatformThread2
'deactivate PlatformThread2

||10||

@enduml
