Alloc Function

Allocates a block of memory of the size specified from the Concurrency Runtime Caching Suballocator.

void * __cdecl Alloc(
   size_t _NumBytes
);

Parameters

  • _NumBytes
    The number of bytes of memory to allocate.

Return Value

A pointer to newly allocated memory.

Remarks

For more information about which scenarios in your application could benefit from using the Caching Suballocator, see Task Scheduler (Concurrency Runtime).

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

Free Function