Draw the process state transition diagram of an OS in which (i) each process is in one of the five states: created, ready, running, blocked (i.e., sleep or wait), or terminated, and (ii) only non-preemptive scheduling is used by the OS. Label the transitions appropriately.
It's correct: TestandSet(mutex) but use & i.e. TestandSet(&mutex)
The answer to the first question is $2048 ...