Beispiel #1
0
 private void LoadRootSample(Sample sample)
 {
     lock (this)
     {
         Sample item = null;
         if (m_runingSampleDict.TryGetValue(sample.name, out item))
         {
             item.AddSample(sample);
             sample.Restore();
             return;
         }
         m_runingSampleDict.Add(sample.name, sample);
         m_runningSamplesQueue.Enqueue(sample);
     }
 }