Discuss the benefits and drawbacks of this implementation.

What will be an ideal response?


Although the implementation of Linux threads does not conform to any standard
thread specification (e.g., POSIX), it has several benefits. For example, Linux threads simplify
kernel code and reduce overhead by requiring only one process table and a single
scheduler to manage all execution contexts (i.e., processes and threads), even in multiprocessor
systems. Moreover, although Linux threads are less portable than POSIX threads, they
allow programmers the flexibility to tightly control shared resources between tasks. One
drawback is that two or more tasks that were created using a clone call specifying maximum
descriptor sharing still maintain several data structures that are not shared with all threads in
the process, such as credentials. It is important to note that POSIX threads can be implemented
using NPTL, improving Linux threads’ portability.

Computer Science & Information Technology

You might also like to view...

If a base class and a derived class both have destructor functions, which would be executed?

A. The derived class would execute first. B. The base class would execute first. C. both would execute at the same time. D. neither would execute.

Computer Science & Information Technology

Which of the following are differences between a remote wireless bridge and an AP?(Choose all that apply.)

A. remote wireless bridges have increased power B. remote wireless bridges have a directional antenna C. remote wireless bridges provides encryption D. remote wireless bridges only connect devices in close proximity

Computer Science & Information Technology

When a computer is running multiple programs concurrently, the one in the background is the active program; that is, the one currently in use.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which Windowscommand will power down a local or remote computer?

A. restart B. poweroff C. shutdown D. reboot

Computer Science & Information Technology