Please answer the 4 multiple choice questions below: On multi CPU systems (syste
ID: 3675348 • Letter: P
Question
Please answer the 4 multiple choice questions below:
On multi CPU systems (systems that can run more than one thread in real time), atomic execution of a code path minimally requires: A spin lock O A barrier instruction A monitor A sequencer A binary semaphore Each thread in the system belongs to (is an attribute of) only one address space. Which of the following attributes is NOT a process attribute? A channel table An EUID ATID(or LWP) APID There must always be one living thread in a multithreaded process whose LWP (Light Weight Process) identifier (sometimes called a thread-ID or TID), is equal to the process PID numberExplanation / Answer
Answer:
57) Binary Semaphores, It allows limited threads
58) True , threads share the same memory.
59) A TID ( or LWP) , the process attributes include:
60) False, TID cant be equal to PID because it cant come in the process attributes which are already defined.