Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:BlackSound1/Shared-Buffer-Problem-in-Java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base:StartingStuff
Choose a base ref
Loading
...
head repository:BlackSound1/Shared-Buffer-Problem-in-Java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:master
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17commits
  • 5files changed
  • 3contributors

Commits on Aug 1, 2020

  1. Merge pull request#1from BlackSound1/StartingStuff

    Implemented many methods in Producer, Consumer, Semaphore, and Main
    @zFlyingPhoenix
    zFlyingPhoenix authoredAug 1, 2020
    Configuration menu
    Copy the full SHA
    9ab6a6fView commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4b173bView commit details
    Browse the repository at this point in the history
  3. Merge pull request#2from BlackSound1/PrintingStuff

    Added print statements
    @zFlyingPhoenix
    zFlyingPhoenix authoredAug 1, 2020
    Configuration menu
    Copy the full SHA
    97e4358View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2020

  1. 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
    BlackSound1 committedAug 4, 2020
    Configuration menu
    Copy the full SHA
    cf9b7e8View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2020

  1. removed 'final' modifier from Semaphores. Dont know why IntelliJ want…

    …ed them. Removed Thread.sleep(). Now program has deadlock!
    @BlackSound1
    BlackSound1 committedAug 5, 2020
    Configuration menu
    Copy the full SHA
    efb9f47View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. Configuration menu
    Copy the full SHA
    3dab158View commit details
    Browse the repository at this point in the history
  2. Merge pull request#3from BlackSound1/Testing

    Testing main logic changes
    @zFlyingPhoenix
    zFlyingPhoenix authoredAug 6, 2020
    Configuration menu
    Copy the full SHA
    841f971View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00f10d6View commit details
    Browse the repository at this point in the history
  4. Merge pull request#4from BlackSound1/revert-3-Testing

    Revert "Testing main logic changes"
    @BlackSound1
    BlackSound1 authoredAug 6, 2020
    Configuration menu
    Copy the full SHA
    193c51cView commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcbea90View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into Testing

    # Conflicts:#src/Consumer.java#src/Producer.java
    @BlackSound1
    BlackSound1 committedAug 6, 2020
    Configuration menu
    Copy the full SHA
    599d83bView commit details
    Browse the repository at this point in the history
  7. Merge pull request#5from BlackSound1/Testing

    changed logic in consume method. Added waiting text
    @BlackSound1
    BlackSound1 authoredAug 6, 2020
    Configuration menu
    Copy the full SHA
    857f666View commit details
    Browse the repository at this point in the history
  8. 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
    zFlyingPhoenix committedAug 6, 2020
    Configuration menu
    Copy the full SHA
    8c667ceView commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. Added volatile keyword to Semaphore value. Everything works now! Adde…

    …d comments and edited output text for readability.
    @BlackSound1
    BlackSound1 committedAug 7, 2020
    Configuration menu
    Copy the full SHA
    1771942View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d85ae99View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Update README.md

    Updated README
    @BlackSound1
    BlackSound1 authoredApr 23, 2021
    Configuration menu
    Copy the full SHA
    b830b8dView commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    692b669View commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp