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]
Determine a critical section is a program segment Critical section is where shared resources are accessed
about error detection in operating system and how does it take place?
Deadlock Avoidance It's a method to evade deadlock by careful resource scheduling. This approach to the deadlock problem foresees deadlock before it actually occurs. This a
Processes and threads each have their place in multi-programming, generally to hide latency and to maximize CPU utilization. With the continuing spread of multi-core processors in
Q. What kind of operating system is Windows XP? Describe two of its major features. Answer: A 32 or 64 bit pre-emptive multitasking operating system supporting multiple use
Question 1 Explain the following with respect to Resource Management in Distributed Systems- Task assignment Approach Load - Balancing Approach Load - Sharing Approach
Cold Backup: It is copying the three groups of files when the object is shut down. This is a straight file copy, generally from the storage disk directly to tape. You must end th
What is internal fragmentation? Consider holes of 20k assume the process requests 18 bites. If we allocate accurately the request block, we are left with a hole of 2k. The over
What is low-level formatting? Before a disk can kept data, it must be required into sectors that the disk controller can read and write. This procedure is called low-level form
is there any difference between the trap and interrupt??
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