Question No. 1 [Marks 4+3+3] What is differencebetween In-Proc servers (.DLL fil
ID: 3616653 • Letter: Q
Question
Question No. 1 [Marks 4+3+3]
What is differencebetween In-Proc servers (.DLL files are called In-Proc orIn-Process servers) and Out-of-Proc servers (.EXE files are calledOut-of-Proc or Out-of-Process servers). Discuss at least oneadvantage and disadvantage of each.
Question No.2 [Marks 2+3+5]
Define thread, how theycan be used to achieve multitasking, also explain how the issue ofthread synchronization can be resolved, in case two or more threadswant to share the same resource (for example a memoryblock)