Esempio n. 1
0
        public Controller()
        {
            buffer = new InfoBoardBuffer();
            rand   = new Random();

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