Hi, One of the famous synchronization problems in OS is reader-writer problem. This problem can be solved by using semaphores. Does anyone have 'C' code for the same? Thanks in advance. Bye. __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com