Fill in SPIN or BLOCK in the following sentences: A. On a un…

Fill in SPIN or BLOCK in the following sentences: A. On a uniprocessor system, if thread T1 tries to lock a mutex that has already been locked by T2, by default T1 will . B. On a multiprocessor system, if thread T1 tries to lock a mutex that has already been locked by T2, by default T1 will .C. Given the adaptive mutex proposed in the Solaris papers, if thread T1 tries to lock a mutex that has already been locked by T2, T1 will if T2 is currently executing.D. Given the adaptive mutex proposed in the Solaris papers, if thread T1 tries to lock a mutex that has already been locked by T2, T1 will if T2 is not currently scheduled.

Do the following statements refer to an OS mechanism (M), ab…

Do the following statements refer to an OS mechanism (M), abstraction (A) or policy (P)? Enter M, A, or P in each text box.    a) The OS represents communication endpoints as sockets.  b) A process can wait for incoming connections on sockets via accept().  c) A socket number may be reused.  d) A process can open up to SOME_MAX_NUMBER sockets.  e) All threads in an address space can access all sockets opened by anyone in the process.