-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
35 lines (33 loc) · 2.93 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.--------------------------------------------------------------. .--------.
R --( send(location) )--( send(fd) )--------------------------------------------- - - - >
'--------------------------------------------------------------' '--------'
^ : :
: v v
.----:----------------------o---------o--->.----------. .
/ connect | \.>( Receiver 1 )~~~~ msg ~~~>/ \
/ : | .'\ '----------' / \ _____
/ v +-----------+ | : \ ^.__/ / ? \~~~>(_)_B_)*
/ .--------. | int fd | | _____ : >.----------. / ____ \ `.
o-->( Listener )~~~| _____ |~|~>(_)_R_)*~~>( Receiver 2 )~~ msg ~>/ (_)_?_) \ `.
/ '--------' | (_)_B_) | | ^ : '----------' \ / `.
/ ^.__/ +-----------+ \ : : ^.__/ \ / _____ `.
/ +-----------+ \' : ... \ /~~~>(_)_F_)* `.
/ | int fd | .' \ `. .----------. \ / : `.
/ | _____ |' \ `>( Receiver n )~~~ msg ~~~>\ / : `.
/ | (_)_F_) | '--------->'----------' ' : `.
/ +-----------+ ^.__/ : :
/ ^ : :
/ : v v
.-------. .---------------------------------------------------------------------------------------. .---------.
R --( start() )----( receive(fd) )---( receive() )--- - - - >
'-------' '---------------------------------------------------------------------------------------' '---------'
Legend
_____ ^. /\
(_)_X_) Queue X \ / \ Conditional
| \ /
.---. `---- Control Flow \/
( X ) Routine X
'---' ^.
+---+ `.
| X | Data Structure :
+---+ with element X `~~~~ Data Flow