Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Assignment
General Control Flow/fork()
int main(int argc,char** argv){
.....
for(i = 0;i < 4;i++){
int ret_pid = fork();
if ( ret_pid < 0 ) exit(1); //this means fork() failed
else if ( ret_pid == 0 ) ! //this is the child
else ... //this is the parent (Controller)
}
return 0;
execlp()
Same thing applies when using exec, you just have to be explicit about it.
More execlp() and parameters
This is because the argument list must be null-terminated, just like any other string.
Makefiles
Makefile example
[target] : [dependency1] ! [dependencyn] [command to execute]
What are the allocation methods of a disk space? Methods of allocating disk space which are widely in use are a. Contiguous allocation b. Linked allocation c. Indexed
Symmetric multiprocessing To get maximum reliability and efficiency a mode of function called as symmetric multiprocessing is used. In essence, with SMP any program or threads
Determine the Requiring Variables on the Scope of a Thread It is very common in server application programs to require variables on the scope of a thread. To provide such a sco
about error detection in operating system and how does it take place?
define pipe
Fault tolerance Machine failures, Communication faults, storage device crashes, and decays of storage media should be tolerated by the system to some extent. A fault tolerant s
Q. Give an instance of an application in which data in a file should be accessed in the following order: a. Sequentially b. Randomly Answer: a. Print the content of
what is internal fragmentation?
How is memory management done using bit maps? A bit map is here in this we signify the bit value as 0 or 1. 1-hole 0-process In this we are able to represent the proce
What is sector sparing? Low-level formatting also sets aside extra sectors not visible to the operating system. The controller can be told to change each bad sector logically w
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd