summaryrefslogtreecommitdiff
path: root/sharedmem_dot.dot
blob: 403574fd5d964b1e8820f8fe17595f4feeaf7aae (plain)
1
2
3
4
5
6
7
8
9
10
11
digraph sharedmem {
    graph [margin=0.10];
    graph [rankdir=TB];

    {node [shape=record, label="{ Process A | { Private memory | Thread 1 }}"] processA};
    {node [shape=record, label="{ Process B | { Private memory | Thread 1 | Thread 2 }}"] processB};
    {node [shape=record, label="{ Shared memory space | { Code | Data }}", style=dashed] shm};

    processA -> shm;
    processB -> shm;
}