Ch 4

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

_____ is not considered a challenge when designing applications for multicore systems.

Ensuring there is a sufficient number of cores

A ____ provides an API for creating and managing threads.

thread library

A _____ uses an existing thread rather than creating a new one to complete a task.

thread pool

A traditional (or heavyweight) process has a single thread of control.

true

Deferred cancellation is preferred over asynchronous cancellation.

true

Each thread has its own register set and stack.

true

It is possible to create a thread library without any kernel-level support.

true

The _____ model allows a user-level thread to be bound to one kernel thread.

two-level

In multithreaded programs, the kernel informs an application about certain events using a procedure known as a(n) ____.

upcall

Which of the following would be an acceptable signal handling scheme for a multithreaded program?

All of the above

____ is a thread library for Solaris that maps many user-level threads to one kernel thread.

Green threads

Which of the following statements regarding threads is false?

Sharing is automatically provided in Java threads.

Pthreads refers to ____.

a specification for thread behavior.

Signals can be emulated in windows through ____.

asynchronous procedure calls

Cancellation points are associated with ____ cancellation.

deferred

A thread is composed of a thread ID, program counter, register set, and heap.

false

In Java, data shared between threads is simply declared globally.

false

Linux distinguishes between processes and threads.

false

Sharing is automatically provided in Java threads. (flipped)

false

The single benefit of a thread pool is to control the number of threads.

false

The most common technique for writing multithreaded Java programs is _____.

implementing the Runnable interface and defining its run() method

Thread-specific data is data that ____.

is copied and not shared with the parent process

The ____ multithreading model multiplexes many user-level threads to a smaller or equal number of kernel threads.

many-to-many model

The _____ model maps many user-level threads to one kernel thread.

many-to-one

The _____ model maps each user-level thread to one kernel thread.

one-to-one

Windows XP uses the ____.

one-to-one model

LWP is ____.

placed between user and kernel threads


Kaugnay na mga set ng pag-aaral

2130 Q2, econ exam 1, Managerial Economics Exam 1, UNCC Econ 3125 Final Exam MC Prep, ECON 3125 Final Exam, exam 1 study, ECON 380, CHP 2 MC, ECON 3125 Metzgar, MGMT Econ final multiple choice, Managerial Economics Final, econ quiz 1 review, Econ Tes...

View Set

Chap 11 Texas Statutes and rules pertinent to life insurance only

View Set

MICROSOFT WORD ADVANCED SKILLS / HYPERLINKS

View Set