Exemple #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();
        }
Exemple #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();
        }