Multithreading Flashcards

1
Q

The speed of creation, context switching, responsiveness, and execusion if fast for __.

A

Threads

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

The Cost - Economy in __ is cheaper.

A

Threads.

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

Concurrency is high for __.

A

Threads.

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

Memory Requirements is light for __.

A

Threads.

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

Sharing of resources is available for __.

A

Threads.

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

__ can run in parallel on a multiprocessor system - Scalability.

A

Threads.

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

Terminate another thread __.

A

pthread_cancel

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

Creates a thread __.

A

pthread_create

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

Sets thread to release the resources __.

A

pthread_detach

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

Compares two thread IDs __.

A

pthread_equal

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

Exits a thread without exiting a process __.

A

pthread_exit

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

Sends a kill signal to a thread __.

A

pthread_kill

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

Waits for a thread __.

A

pthread_join

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

Get the running thread’s ID __.

A

pthread_self

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

Variables declared outside a function __.

A

Global.

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

Variables declared inside a function __.

A

Local.