ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > CLASS (2016-2017-1)-62903-06102-1 > 2014329600026 6-1 >
Producer-Consumer Problem Version 0
👤 Author: by 371516709qqcom 2016-11-23 09:29:51
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
* @v

Please login to reply. Login

Reversion History

Loading...
No reversions found.