Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.