Reference: IVEThreadDestroyKey

Overview

Frees the resources allocated for an IVEThreadKey by IVEThreadInitKey. Use of the key after it is deleted will result in undefined behavior.

If the key had cleanup function associated with it, they are not called when IVEThreadDestroyKey is called or when threads exit after the key is deleted.

Prototype (C)

#include "ive_standards.h"
#include "ive_thread.h"
void IVEThreadDestroyKey(IVEThreadKey key);

Prototype (Fortran)

There is no Fortran interface.

Parameters

key
key is the key to be deleted.

Side effects

Inclusion of ive_standards.h sets certain feature-set macros. It is safest to include it before any other headers to avoid inconsistent definitions.

Cross references

IVEThreadInitKey, IVEThreadSetKeyValue, IVEThreadGetKeyValue, and IVEThreadKey


| categories | alphabetical |


modified May 7, 2002

Eric Branlund (eric@msg.ucsf.edu)