Search:

Type: Posts; User: jeffc1

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    6,256

    Petersons vs Bakery Algorithm.

    I have notes which touch on both, but there is no context as to why one is used vs the other, or how they differentiate?

    They both seem to solve the Mutual Exclusion "problem", but still I feel...
  2. Replies
    3
    Views
    4,923

    makes sense!

    makes sense!
  3. Replies
    3
    Views
    4,923

    Mutual Exclusion

    Hello,

    I'm trying to understand algorithm to this mutual exclusion problem/example:



    repeat
    (while turn != 0);
    // critical section
    turn = 1;
  4. Replies
    10
    Views
    15,071

    Thanks < I appreciate the time you guys took to...

    Thanks < I appreciate the time you guys took to help me out. Its one of those things that are so simple, certain texts dont even bother to explain, yet can mean the difference between getting the...
  5. Replies
    10
    Views
    15,071

    If anyone has good examples I can use to practice...

    If anyone has good examples I can use to practice i would appreciate it.

    What happens if the process runtime is less than the time quantum? Does the next process run immediately or wait until the...
  6. Replies
    10
    Views
    15,071

    "Suppose you wanted to know the time that P1 was...

    "Suppose you wanted to know the time that P1 was NOT executing. "

    I see how that works for P1.. but P2 would be 60-12 48. The example says P2 is 32.

    "Look at the picture and count." I guess its...
  7. Replies
    10
    Views
    15,071

    Iv'e found many examples on the web, who also do...

    Iv'e found many examples on the web, who also do not explain how these numbers were obtained.
  8. Replies
    10
    Views
    15,071

    Herm.. Pardon my slowness but i'm still not able...

    Herm.. Pardon my slowness but i'm still not able to visualize or see what exactly is happening.
    Care to elaborate a bit more with examples?
  9. Replies
    10
    Views
    15,071

    Round Robin Scheduling Question?

    I'm having a bit of trouble understanding how average wait time is calculated with round robin.

    Using the example below

    http://i54.tinypic.com/2rhrd49.png

    I simply do not know how the wait...
  10. Replies
    4
    Views
    2,323

    Thanks! If I exclude the line, and the CPP to...

    Thanks!
    If I exclude the line, and the CPP to my project as a "source file"
    all of the functions inside of implementation.cpp are not found.
    Im probably doing something wrong there. What would be...
  11. Replies
    4
    Views
    2,323

    Splitting up a C++ Program?

    Please forgive me if this topic is redundant. I've searched and couldnt find anything.

    I'm a bit confused here as i'm trying to split my cpp program into 3 separate files using Visual Studio.
    ...
Results 1 to 11 of 11