summaryrefslogtreecommitdiff
path: root/threadblocking.msc
blob: 3b1c22a28adc3f42e966bf9ec1f5a6096364426b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
msc {
    main [label="Client main thread"],
    rpc [label="Client RPC thread"],
    service [label="Service process"];

    |||;

    main => rpc [label="Spawn and start call"],
         rpc => service [label="Call packet"];
    main rbox main [label="Executing locally"],
         rpc rbox rpc [label="Execution blocked"],
         service rbox service [label="Executing procedure"];
    main => rpc [label="Wait for results"],

    rpc << service [label="Reply packet"];

    main << rpc [label="Results"];
    main => rpc [label="Clean up"];
}