Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Application.freeThreadStorage

Frees the specified thread's storage slot.

Syntax

public static void freeThreadStorage( int index )

Parameters

index

The index to the thread storage slot. This index must have been previously obtained by calling allocThreadStorage.

Remarks

The freeThreadStorage method allows you to free a thread storage allocation. If an object is currently stored in the slot, the slot will be set to null before freeing it. For an example of using this method, see allocThreadStorage.

See Also   getThreadStorage, setThreadStorage