adplus-dvertising
frame-decoration

Question

If a thread invokes the exec system call,

a.

only the exec executes as a separate process.

b.

the program specified in the parameter to exec will replace the entire process

c.

the exec is ignored as it is invoked by a thread.

d.

none of the mentioned

Posted under Operating System

Answer: (b).the program specified in the parameter to exec will replace the entire process

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If a thread invokes the exec system call,

Similar Questions

Discover Related MCQs

Q. If exec is called immediately after forking,

Q. If a process does not call exec after forking,

Q. Thread cancellation is :

Q. When a web page is loading, and the user presses a button on the browser to stop loading the page :

Q. When one thread immediately terminates the target thread, it is called :

Q. When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called :

Q. Cancelling a thread asynchronously :

Q. Cancellation point is the point where :

Q. If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be :

Q. Signals that occur at the same time, are presented to the process :

Q. Which of the following is not TRUE :

Q. Signals of a given type :

Q. The three ways in which a process responds to a signal are :

Q. Signals are identified by :

Q. When a process blocks the receipt of certain signals :

Q. The _______ maintains pending and blocked bit vectors in context of each process.

Q. In UNIX, the set of masked signals can be set or cleared using the ________ function.

Q. The usefulness of signals as a general inter process communication mechanism is limited because :

Q. The usual effect of abnormal termination of a program is :

Q. In UNIX, the abort() function sends the ________ signal to the calling process, causing abnormal termination.