Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

what is the difference between interrupts &traps? what is the difference between time share&scheduling ? how o.s. solve the problem of dead lock? which is the best of algorithm scheduling ?

OpenStudy (anonymous):

Dear friend, there is bit of difference between interrupts &traps.there are two types of interrupts 1> software interrupts 2> hardware interrupt. Trap is a kind of hardware interrupt.hardware interrupts are studied in context with microprocessors or microcontrollers.whenever a microprocessor receives an interrupt(hardware interrupt as a Trap) it suspends its current execution and saves the address of instruction next to be executed in a special register located within microprocessor.after servicing interrupt routine microprocessor resumes it normal working. in response to ur 2nd que. i would like to state u that scheduling in os is a mechanism through which an OS(operating system) prioritizes execution of various process in the system. and a time sharing OS(minix OS for example) allocates the equivalent time slot of its CPU cycle for each process it is executing .in order to understand concept of timesharing OS u can consider a situation of single server minix installed on it and several client workstations are requesting its service. for answer of remaining two questions u can scroll through wikipedia of OS . Thanks ,

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!