ProConUnprotected: Initial commit

This commit is contained in:
2025-03-19 20:42:54 +01:00
parent 519152a7b9
commit 717dd7835e
9 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
public class SharedBufferTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
Buffer sharedLocation = new UnsynchronizedBuffer();
Producer producer = new Producer( sharedLocation);
Consumer consumer = new Consumer( sharedLocation);
producer.start();
consumer.start();
}
}