erlang processes Flashcards

1
Q

max # of processes

A

262144

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

every process has a

A

mailbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is a mailbox

A

queue of messages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does the receive block do with each message

A

tries each message in the queue until one of the messages matches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are messages made out of

A

any valid erlang data string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

linking idioms

A

i dont care if child dies -> spawn
i want to crash if child dies -> spawn link
i want to receive message if child dies -> process flag (exit, true)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly