NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | CORE_Once(once) (!NCBI_SwapPointers((once), (void*) 1)) |
Return non-zero (true) if "*once" had a value of NULL, and set the value to non-NULL regardless (best effort: atomically). More... | |
#define CORE_Once | ( | once | ) | (!NCBI_SwapPointers((once), (void*) 1)) |
Return non-zero (true) if "*once" had a value of NULL, and set the value to non-NULL regardless (best effort: atomically).
Return 0 (false) otherwise.
Definition at line 47 of file ncbi_once.h.