Hey there good folks! :)
I am working on a thread task called, Lab Alarm, and I am nearly done with it. We're suppoosed to work with the "producer-consumer" problem and It's just teacher code that one is supposed to modify and add some own to it. Now, I am almost done with this thing - but I keep getting some errors - which I don't fully comprehend. If anyone could shed a little light over it, and what next step I should take, I would be grateful. :)
The lab consists of 7 classes - they are not big ones though - and I will post the links to them right here. Any help is welcome. Best wishes to everyone!
The Task: http://pastebin.com/m2be4c209
LabAlarm: http://pastebin.com/m145e30c4
AlarmBuffer: http://pastebin.com/m46757e06
AlarmClient: http://pastebin.com/m3c686f6
AlarmConsumer: http://pastebin.com/m1ecf2a7a
AlarmMessage: http://pastebin.com/m1ddc4861
AlarmProducer: http://pastebin.com/m2133e47d
AlarmServer: http://pastebin.com/m4ec4f42f