Beispiel #1
0
        public Controller()
        {
            buffer = new InfoBoardBuffer();
            rand   = new Random();

            Start();
            Finish();
        }
Beispiel #2
0
 public Writer(InfoBoardBuffer board, Random rand)
 {
     this.board  = board;
     this.rand   = rand;
     writerMutex = new Mutex();
 }
Beispiel #3
0
 public Reader(InfoBoardBuffer board)
 {
     this.board  = board;
     readerMutex = new Mutex();
 }