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

Method is_lock_free

include/dmlc/blockingconcurrentqueue.h:945–948  ·  view source on GitHub ↗

Returns true if the underlying atomic variables used by the queue are lock-free (they should be on most platforms). Thread-safe.

Source from the content-addressed store, hash-verified

943 // the queue are lock-free (they should be on most platforms).
944 // Thread-safe.
945 static bool is_lock_free()
946 {
947 return ConcurrentQueue::is_lock_free();
948 }
949
950
951private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected