예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="friendList"></param>
 internal void RemoveFriendList( Friend friendList )
 {
     Monitor.Enter( m_LockFriendList );
     {
         m_FriendList.Remove( friendList );
     }
     Monitor.Exit( m_LockFriendList );
 }
예제 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="friendList"></param>
 internal void AddFriendList( Friend friendList )
 {
     Monitor.Enter( m_LockFriendList );
     {
         m_FriendList.Add( friendList );
     }
     Monitor.Exit( m_LockFriendList );
 }