BloombergLP::bslmt_KeyDestructorFunction

Alias for a C-linkage thread-specific key destructor function type.

Synopsis

Declared in <bslmt_threadutil.h>

typedef void(* bslmt_KeyDestructorFunction)(void*);

Description

bslmt_KeyDestructorFunction is an alias for a function type taking a single void pointer argument and returning void. Such functions are suitable to be specified as thread-specific key destructor functions to bslmt::ThreadUtil::createKey.