예제 #1
0
        static void SetUpThreads()
        {
            cR            = new CommandReader();
            commandThread = new Thread(cR.getCommands);
            commandThread.Start();

            uD              = new UpdatingDatabase();
            uD.openSlots    = CountConnected();
            updateDatabaseT = new Thread(uD.UpdateDatabase);
            updateDatabaseT.Start();
        }
예제 #2
0
        static void SetUpThreads()
        {
            cR = new CommandReader();
            commandThread = new Thread(cR.getCommands);
            commandThread.Start();

            uD = new UpdatingDatabase();
            uD.openSlots = CountConnected();
            updateDatabaseT = new Thread(uD.UpdateDatabase);
            updateDatabaseT.Start();
        }