LLVM 24.0.0git
llvm::parallel::detail Namespace Reference

Classes

class  Latch

Functions

LLVM_ABI unsigned claimPerThreadAllocatorId ()
 Return a new process-unique PerThreadAllocator instance id.

Function Documentation

◆ claimPerThreadAllocatorId()

unsigned llvm::parallel::detail::claimPerThreadAllocatorId ( )

Return a new process-unique PerThreadAllocator instance id.

Ids are never reused.

Definition at line 40 of file Allocator.cpp.