MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / subscribe

Method subscribe

include/dmlc/concurrentqueue.h:515–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513 {
514 public:
515 static void subscribe(ThreadExitListener* listener)
516 {
517 auto& tlsInst = instance();
518 listener->next = tlsInst.tail;
519 tlsInst.tail = listener;
520 }
521
522 static void unsubscribe(ThreadExitListener* listener)
523 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected