Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which of the following calls fail if the requested shared memory segment does not already exist? ( a ) shmget ( key , sizeof (

Which of the following calls fail if the requested shared memory segment does not already exist?
(a) shmget (key, sizeof (int), IPC_CREAT|0777);
(b) shmget (key, sizeof (int),0777);
(c) shmget(IPC_PRIVATE, sizeof (int),0777);
(d)(b) and (c)
(e) None of the above
Which of the following is INCORRECT about shared memory?
(a) An IPC method that does not need kernel intervention to deliver messages
(b) An IPC method that lacks a mean of synchronization between the communicating pro-
cesses
(c) An IPC method that can be used for communication between process, and between threads
as well
(d) It is a system resource that can continue to exist even after the processes that are using
it terminate.
(e) None of the above
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions