Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
question write a program that creates a new file writes 100kb to it flushes the writes and deletes it time how long
question consider a text editor that saves a file whenever you click a save button suppose that when you press the
question write a program that times how long it takes to issue 100000 one-byte writes in each of two ways first time
question discussion some high-end disks in the 1980s had multiple disk arm assemblies per disk enclosure in order to
question a disk may have multiple surfaces arms and heads but when you issue a read or write only one head is active at
question write a program that creates a 100mb file on your local disk and then measures the time to do each of four
question assuming hansen semantics for condition variables our implementation of the blocking bounded queue in figure
question as noted in the previous problem our implementation of the blocking bounded queue in figure does not guarantee
question wikipedia provides an implementation of petersons algorithm to provide mutual exclusion using loads and stores
question linux provides a sys futex system call to assist in implementing hybrid user-levelkernel-level locks and
question show how to implement a semaphore by generalizing the the multi-processor lock implementation shown in
question for the solution to too much milk suggested in the previous problem each call to drinkmilkandbuyifneeded is
question before entering a priority critical section a thread calls prioritylockenterpriority and when the thread exits
question figure shows an execution that executes some requests in parallel and it shows an equivalent sequential
question generalize the rules for two phase locking to include both mutual exclusion locks and readers-writers locks
question consider the variation of the dining philosophers problem shown in figure where all unused chopsticks are
question if the queues between stages are finite is it possible for a staged architecture to deadlock even if each
question when an operating system receives a system call from a program a switch to the operating system code occurs
question write a program to verify that the operating system on your computer protects itself from rogue system calls
question can unix fork return an error why or why notnote you can answer this question by looking at the manual page
question can unix exec return an error why or why not note you can answer this question by looking at the manual page
question 1 explain what must happen for unix wait to return successfully and immediately2 suppose you were the
question 1 what happens if you run exec csh in a unix shell why2 what happens if you run exec ls in a unix shell
question what is the output of the following programs please try to solve the problem without compiling and running the
question implement a shell using unix system calls features of your shell can include pipes background and foreground