MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / ProducerToken

Method ProducerToken

concurrentqueue.h:672–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670 explicit ProducerToken(BlockingConcurrentQueue<T, Traits>& queue);
671
672 ProducerToken(ProducerToken&& other) MOODYCAMEL_NOEXCEPT
673 : producer(other.producer)
674 {
675 other.producer = nullptr;
676 if (producer != nullptr) {
677 producer->token = this;
678 }
679 }
680
681 inline ProducerToken& operator=(ProducerToken&& other) MOODYCAMEL_NOEXCEPT
682 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected