function A(int a[])
{
SemLock()
//Some Code....
SemUnlock()
}
Suppose some other thread has taken the same lock. Hence this function is blocked. Suppose this function is called by many other threads. All will be blocked. After Unlocking, will the data (parameter a[]) be lost or retained passed in as the parameter by different threads. How does this queuing of data takes place?