예제 #1
0
        public static bool QueueUserWorkItem(WaitCallbackNew callback)
        {
            Class26 state = new Class26();

            state.method_1(callback);
            state.method_3(new AutoResetEvent(false));
            if (list_0 == null)
            {
                list_0 = new List <WaitHandle>();
            }
            list_0.Add(state.method_2());
            return(ThreadPool.QueueUserWorkItem(new WaitCallback(ThreadPoolHelper.smethod_0), state));
        }