This is almost the 2 year , I am working as the programmer.

But still I feel like we all are horrible in our coding (Sometimes only). Sorry not all me only….

Yesterday one of my colleagues shows me the code I putted in my project module.Code was written by me only… Really when I saw that one it was really horrible…

It was like this…..

Critical_Section* CommonInfoShared::GetPC()



return &m_stPC;



If you know something C++ , you will easily understand the mistake I made.

After the return statement, Is there any way I can able to reach the gmutex.Unlock() function…