Search:

Type: Posts; User: bananasplitkids

Search: Search took 0.21 seconds.

  1. Replies
    3
    Views
    1,135

    Help with Error Debugging

    I am trying to implement the producer consumer problem by creating my own semaphores. When compiling and running the program I am getting the error :

    Exception in thread "Producer"...
  2. Replies
    2
    Views
    3,662

    Re: cannot find symbol Error

    So I recompiled the program again and now Im getting these errors:

    cannot find symbol
    symbol : class Buffer
    location: class SharedBufferTest
    Buffer sharedLocation = new...
  3. Replies
    2
    Views
    3,662

    cannot find symbol Error

    Can someone help me with debugging this error?
    This is the error Im getting but I do not know why.

    SharedBufferTest.java:16: cannot find symbol
    symbol : constructor Producer(Buffer)
    location:...
  4. Replies
    0
    Views
    685

    Producer/Consumer Help

    I wrote a program to set up the Producer/Consumer relationship and right now it is not synchronized and I want to implement Semaphores but I am having trouble with it. I want the producer/consumer...
  5. Replies
    1
    Views
    8,571

    Implementing Semaphores

    For our project we will be implementing semaphore using P() and V() in java. Before I can do that I need to understand what TestandSet and Enabling/Disabling interrupts to. I understand test and set...
  6. Replies
    2
    Views
    2,466

    Re: Test and Set Explanation

    yes it requires these thats why I need the explanation of what the previous psuedocode is doing. Thank you for the links!
  7. Replies
    2
    Views
    2,466

    Test and Set Explanation

    For our project we will be implementing semaphore using P() and V() in java. Before I can do that I need to understand what TestandSet and Enabling/Disabling interrupts to. I understand test and set...
Results 1 to 7 of 7