コード例 #1
0
ファイル: Controller.cs プロジェクト: MarkusWilroth/Grupp-30
        public Controller()
        {
            buffer = new InfoBoardBuffer();
            rand   = new Random();

            Start();
            Finish();
        }
コード例 #2
0
ファイル: Writer.cs プロジェクト: MarkusWilroth/Grupp-30
 public Writer(InfoBoardBuffer board, Random rand)
 {
     this.board  = board;
     this.rand   = rand;
     writerMutex = new Mutex();
 }
コード例 #3
0
ファイル: Reader.cs プロジェクト: MarkusWilroth/Grupp-30
 public Reader(InfoBoardBuffer board)
 {
     this.board  = board;
     readerMutex = new Mutex();
 }