Documentation
¶
Overview ¶
Package loncha/list_head is like a kernel's LIST_HEAD list_head is used by loncha/gen/containers_list
Index ¶
- Variables
- func ContainOf(head, elm *ListHead) bool
- func GetConcurrentMode() bool
- type Cursor
- type ListHead
- func (head *ListHead) Add(new *ListHead)
- func (l *ListHead) Back() (head *ListHead)
- func (l *ListHead) Cursor() Cursor
- func (l *ListHead) Delete() (result *ListHead)
- func (list *ListHead) DeleteMarked()
- func (l *ListHead) DeleteWithCas(prev *ListHead) (err error)
- func (head *ListHead) DirectNext() *ListHead
- func (head *ListHead) DumpAll() string
- func (head *ListHead) DumpAllWithMark() string
- func (l *ListHead) Empty() bool
- func (l *ListHead) Front() (head *ListHead)
- func (head *ListHead) Init()
- func (l *ListHead) IsFirst() bool
- func (l *ListHead) IsLast() bool
- func (l *ListHead) Len() (cnt int)
- func (l *ListHead) MarkForDelete() (err error)
- func (head *ListHead) Next() (nextElement *ListHead)
- func (head *ListHead) Next0() (next *ListHead)
- func (head *ListHead) Next1() (nextElement *ListHead)
- func (l *ListHead) P() string
- func (l *ListHead) Pp() string
- func (head *ListHead) Prev() *ListHead
- func (head *ListHead) PtrNext() **ListHead
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MODE_CONCURRENT bool = false PANIC_NEXT_IS_MARKED bool = false )
Functions ¶
func GetConcurrentMode ¶
func GetConcurrentMode() bool
Types ¶
type ListHead ¶
type ListHead struct {
// contains filtered or unexported fields
}
func (*ListHead) DeleteMarked ¶
func (list *ListHead) DeleteMarked()
func (*ListHead) DeleteWithCas ¶
func (*ListHead) DirectNext ¶
func (*ListHead) DumpAllWithMark ¶
func (*ListHead) MarkForDelete ¶
Click to show internal directories.
Click to hide internal directories.