Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj as LockFreeNode == null)
            {
                return(false);
            }

            LockFreeNode node = (LockFreeNode)obj;

            return((node.StudentID == StudentID) && (node.CourseID == CourseID));
        }
Пример #2
0
 public LockFreeListWindow(LockFreeNode previous, LockFreeNode current)
 {
     Previous = previous;
     Current  = current;
 }
Пример #3
0
 public virtual void Free(LockFreeNode <T> node)
 {
     node.Item = default(T);
 }
Пример #4
0
 public void SetNext(LockFreeNode node)
 {
     next = node;
 }