.

cacheServiceDelete

Declaration

 
MPI_RESULT cacheServiceDelete(CacheService	cacheService);
 

Required Header: apputil.h
Change History:
Added in 03.04.11

Description

cacheServiceDelete alerts the CacheService object thread that it should end, waits for the thread to end, and frees the memory allocated to cacheService.

cacheService The handle to the CacheService object to delete

Return Values  
MPIMessageOK Upon success.

Sample Code

Using CacheServiceConfigDEFAULT to initialize a CacheSeriveConfig variable.

MPIControl         control;
CacheService       cacheService;
CacheServiceConfig cacheServiceConfig = CacheServiceConfigDEFAULT;

/* create and initialize controller */

cacheServiceConfig.sleepTime = 20; /* milliseconds */

cacheService = CacheServiceCreate(control, &cacheServiceConfig);

See Also

cacheServiceCreate

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering