1 what is concurrency? Flashcards

1
Q

Concurrency

A

Sharing of resources in the same time frame. E.g. CPU, memory, I/O-device.

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

Communication

A

Convey information from one entity to another

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

Interrupt

A

Hardware notification of event. Detection part of instruction cycle. Source may be external, internal timer, division by zero…

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

Signal

A

Software notification of event. May be caused by interrupt handling.

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

Signal is generated

A

when the event that causes the signal occurs

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

Signal is caught

A

if the process that receives it, executes a handler for it.

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

A signal that is generated by the process or thread that receives it

A

is generated synchronously

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

Is a signal handler running concurrently?

A

Yes, at the very least concurrent with the main program.

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

A call directly into the kernel

A

is a system call

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

The programs that run in privileged mode

A

is the kernel

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

With full access to system resources, a program runs in

A

privileged mode.

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

reentrant function

A

Program function that is also a mathematical function

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

Program function that is also a mathematical function

A

is a reentrant function

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

A function that modifies local, static or global data

A

is a non-reentrant function

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

A is a non-reentrant function

A

modifies local, static or global data

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

reentrant substitute function

A

suffix _r

17
Q

suffix _r

A

reentrant substitute function