Abnormal producer consumer problem driving me nuts

view story

http://www.unix.com – Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: normally, i hate asking someone to do my homework for me but am getting desperate right now. i have a project about consumer producer problem. the deadline is tonight at 23:55. but i havent gotten it working yet. i just COULDNT get it to work right yet. the problem is as follows: the C - program will prompt for the following integer inputs: m: the number of producer threads n: the number of consumer threads k: the (HowTos)