示例#1
0
 public void push_create_event(create_event _event)
 {
     lock (create_event_list)
     {
         create_event_list.Enqueue(_event);
     }
 }
示例#2
0
        public void push_create_event(create_event _event)
        {
            if (!collection_write_event_list.ContainsKey(_event.collection))
            {
                start_write(_event.collection);
            }

            collection_write_event_list[_event.collection].push_create_event(_event);
        }