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]
State critical section problem? Discuss three solutions to solve the critical section problem. C-S Problem:- n processes all competing to use some shared data Every
Write a program (with the programming language and on the platform of your choice) to demonstrate the memory leak problem (see http://en.wikipedia.org/wiki/Memory_leak for detail
Why interrupt can be used? The majority of the different parts of the PC need to send information to and from the processor and they expect to be able to get the processor's at
What is a Process Control Block? Every process in the operating system is represented by a process control block as well called a task control block. It contains several pieces
Contiguous allocation: Every file will be allocated contiguous space in the memory. Allow the block size be 1K If a 50K files desires to be allocated space after t
Characteristics of suspend process Suspended process isn't immediately available for execution. The process may or may not be waiting on an event. For preventing t
What is Belady's anomaly When plotting on a graph the page faults versus the number of available frames. We notice that the number of faults for four frames is greater than th
Briefly discuss on I/O hardware? A controller is a collection of electronics that can operate a port, a bus, or a device. A serial-port controller is an easy controller. It is
best fit
Note for assignment
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