发布网友 发布时间:2022-05-01 09:28
共2个回答
热心网友 时间:2022-06-27 13:08
如果已经还在运行,则抛出异常,如果执行完还没有释放,则再次执行热心网友 时间:2022-06-27 13:08
m_coreMole.startReg3(callId, seqId + 1, intervalTime); UserProperties userProperties = m_coreMole.UserProperties; protected internal virtual void startReg3(long callId, int seqId, int intervalTime) { stopKeepAlive(); m_keepConvThread = new KeepAliveThread(this); //m_keepConvThread.Start(); m_keepConvThread.insertLoginTask(m_reg2Callid, 0, seqId); m_reg3IntervalTime = intervalTime; } public KeepAliveThread(CoreMole coreMole) { m_coreMole = coreMole; m_taskQueue = new List(10); Start(); }问题:如果我没有屏蔽掉m_keepConvThread.Start();语句,则startReg3下面的代码将不会被执行,这是怎么回事?