- Notifications
You must be signed in to change notification settings - Fork0
Comparing changes
Open a pull request
base repository:BlackSound1/Shared-Buffer-Problem-in-Java
Uh oh!
There was an error while loading.Please reload this page.
base:StartingStuff
head repository:BlackSound1/Shared-Buffer-Problem-in-Java
Uh oh!
There was an error while loading.Please reload this page.
compare:master
Uh oh!
There was an error while loading.Please reload this page.
- 17commits
- 5files changed
- 3contributors
Commits on Aug 1, 2020
Merge pull request#1from BlackSound1/StartingStuff
Implemented many methods in Producer, Consumer, Semaphore, and Main
zFlyingPhoenix authoredAug 1, 2020 - BlackSound1 committed
Aug 1, 2020 Merge pull request#2from BlackSound1/PrintingStuff
Added print statements
zFlyingPhoenix authoredAug 1, 2020
Commits on Aug 4, 2020
Changed the run() methods to have the random number generation and ch…
…ecks against q in them, instead of in main. Small organization and code changes. Made wait() method sleep to simulate busy-waiting. Experimented with changing buffer to queue, but queues don't have default size option. Still need to figure out how to simulate FIFO activity in buffer
BlackSound1 committedAug 4, 2020
Commits on Aug 5, 2020
removed 'final' modifier from Semaphores. Dont know why IntelliJ want…
…ed them. Removed Thread.sleep(). Now program has deadlock!
BlackSound1 committedAug 5, 2020
Commits on Aug 6, 2020
changed text around. removed private Semaphore attributes.
BlackSound1 committedAug 6, 2020 Merge pull request#3from BlackSound1/Testing
Testing main logic changes
zFlyingPhoenix authoredAug 6, 2020 Revert "Testing main logic changes"
BlackSound1 authoredAug 6, 2020 Merge pull request#4from BlackSound1/revert-3-Testing
Revert "Testing main logic changes"
BlackSound1 authoredAug 6, 2020 changed logic in consume method. Added waiting text
BlackSound1 committedAug 6, 2020 Merge branch 'master' into Testing
# Conflicts:#src/Consumer.java#src/Producer.java
BlackSound1 committedAug 6, 2020 Merge pull request#5from BlackSound1/Testing
changed logic in consume method. Added waiting text
BlackSound1 authoredAug 6, 2020 Adding comments prior to changing the value of mutex and after to bot…
…h the consumer and producer class. The issue seems to stem from the fact that the attributes are not communicating with one another.
zFlyingPhoenix committedAug 6, 2020
Commits on Aug 7, 2020
Added volatile keyword to Semaphore value. Everything works now! Adde…
…d comments and edited output text for readability.
BlackSound1 committedAug 7, 2020
Commits on Apr 23, 2021
Merge pull request#7from BlackSound1/BlackSound1-patch-1
Update README.md
BlackSound1 authoredApr 23, 2021
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff StartingStuff...master
Uh oh!
There was an error while loading.Please reload this page.