Shared list support.
SharedList[A] = object head, tail: SharedListNode[A] lock*: Lock
proc iterAndMutate[A](x: var SharedList[A]; action: proc (x: A): bool)
proc add[A](x: var SharedList[A]; y: A)
proc init[A](t: var SharedList[A])
proc clear[A](t: var SharedList[A])
not (x == y)
. proc deinitSharedList[A](t: var SharedList[A])
proc initSharedList[A](): SharedList[A] {...}{.deprecated.}
iterator items[A](x: var SharedList[A]): A
not (x == y)
.
© 2006–2018 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/sharedlist.html