//////////////////////////////////////////////////////////////////////////
        public override void Stop(BundleStopOption options)
        {
            /*
            The method returns immediately to the caller after initiating the following steps to be taken on another thread.
            */
            lock (m_lock)
            {
                if (getState() == BundleState.STOPPING ||
                    getState() == BundleState.RESOLVED)
                    return;

                setState(BundleState.STOPPING);

                ThreadPool.QueueUserWorkItem(doStop);
            }
        }
        //////////////////////////////////////////////////////////////////////////
        public override void Stop(BundleStopOption options)
        {
            /*
            The method returns immediately to the caller after initiating the following steps to be taken on another thread.
            */
            lock (m_lock)
            {
                if (m_state == BundleState.STOPPING ||
                    m_state == BundleState.RESOLVED)
                    return;

                m_state = BundleState.STOPPING;

                ThreadPool.QueueUserWorkItem(doStop);
            }
        }
Example #3
0
 //////////////////////////////////////////////////////////////////////////
 public virtual void Stop(BundleStopOption options)
 {
     throw new NotImplementedException();
 }
Example #4
0
        //////////////////////////////////////////////////////////////////////////

        public virtual void Stop(BundleStopOption options)
        {
            throw new NotImplementedException();
        }