concurrency ~master (2022-01-07T14:23:47Z)
Dub
Repo
MPSCQueue
concurrency
data
queue
mpsc
Undocumented in source.
final
class
MPSCQueue (
Node
) {
alias
ElementType
=
Node
*
;
this
();
shared
(
MPSCQueueProducer
!
Node
)
producer
();
bool
push
(Node* n);
bool
empty
();
Node
*
pop
();
}
Constructors
this
this
()
Undocumented in source.
Members
Aliases
ElementType
alias
ElementType
=
Node
*
Undocumented in source.
Functions
empty
bool
empty
()
Undocumented in source. Be warned that the author may not have intended to support it.
pop
Node
*
pop
()
returns node or null if none
producer
shared
(
MPSCQueueProducer
!
Node
)
producer
()
Undocumented in source. Be warned that the author may not have intended to support it.
push
bool
push
(Node* n)
returns true if first to push
Meta
Source
See Implementation
concurrency
data
queue
mpsc
classes
MPSCQueue
structs
MPSCQueueProducer