Beispiel #1
0
        public CPUContext(Kernel pKernel)
        {
            m_Kernel = pKernel;
            m_Thread = null;
            m_Terminate = false;
            m_Release = false;
            m_Task = null;
            m_Execute = null;
            m_DelaySuspend = 0;
            m_SuspendFlag = 0;

            if (m_TlsIndex == null)
                m_TlsIndex = new ThreadLocal<CPUContext>();
        }
Beispiel #2
0
 public Itron(Kernel kernel)
 {
     g_Kernel = kernel;
 }
Beispiel #3
0
 public PacketBridge(Kernel pKernel, int kind)
 {
     m_Kernel = pKernel;
     m_Kind = kind;
 }