Exemple #1
0
        // Get the QueueProcessor so MSAA events can use it as well
        static internal QueueProcessor GetCallbackQueue()
        {
            lock (_queueLock)
            {
                // Create the thread to process the notification if necessary
                if (_callbackQueue == null)
                {
                    _callbackQueue = new QueueProcessor();
                    _callbackQueue.StartOnThread();
                }
            }

            return _callbackQueue;
        }