Problem:
Question 1: Can two threads in the same process synchronize using a kernel semaphore if the threads are implemented by the kernel? What if they are implemented in user space? Assume that no threads in any other processes have access to the semaphore. Please describe in detail.
Question 1: Use a Boolean Expression law to prove...[(X^Y)v(X^Y`)]v[(X`^Y)v(X`^Y`)]=1. Please show your work and explain.