示例#1
0
文件: Once.cs 项目: zyouhua/nvwa
 public Once(OncePool nOncePool)
 {
     mLock = new object();
     mRunning = false;
     mOncePool = nOncePool;
     mRunnable = null;
     PlatformSingleton platformSingleton_ = __singleton<PlatformSingleton>._instance();
     mThread = platformSingleton_._createThread();
     mThread.m_tRunSlot += _runOnce;
     mThread._startRun();
 }