ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > CLASS (2016-2017-1)-62903-06102-1 > 2014329620056-renyajie > homework 5_project >
Producer-Consumer Problem Version2 Version 0
👤 Author: by x20056 2016-11-08 19:09:27
Readme: The version code fixes the problem of disorder print, which results from the fact that the statement of System.out.printf() isn't synchronized. so i move coresponding statements to the synchronized method, then this problem is solved smoothly. ^_^ Maybe there is version 3, who knows, if i am available and don't forget this problem. *_*


package question;

/**
* A simple program to simulate the typical process of producer and consumer
* @author crystal sugar
* @version

Please login to reply. Login

Reversion History

Loading...
No reversions found.