Mac Dev Center Mac OS X Reference Library General libcache Reference

libcache Reference Functions/Methods Index

The libcache API provides UNIX-level support for caching using purgeable memory. This arrangement allows the kernel to manage cache availability systemwide based on available memory. This maximizes the performance advantage of the cache by allowing the application to grow its cache as desired (without unnecessary restriction of the cache size) while simultaneously preventing the caches from growing so large that they degrade performance due to excessive paging.



Functions

cache_create
  cache_remove
cache_destroy
  cache_remove_all
cache_get_and_retain
  cache_set_and_retain
cache_release_value
 

Other References

Header Index
Data Types Index
Did this document help you? Yes It's good, but... Not helpful...