ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
883 B

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
  4. //
  5. // See accompanying file COPYING.TXT file for licensing details.
  6. //
  7. ///////////////////////////////////////////////////////////////////////////////
  8. #ifndef THREAD_CHACHE_H
  9. #define THREAD_CHACHE_H
  10. #include "base_cache.h"
  11. #include <booster/intrusive_ptr.h>
  12. #include <cppcms/defs.h>
  13. namespace cppcms {
  14. namespace impl {
  15. booster::intrusive_ptr<base_cache> CPPCMS_API thread_cache_factory(unsigned items);
  16. #ifndef CPPCMS_WIN32
  17. booster::intrusive_ptr<base_cache> CPPCMS_API process_cache_factory(size_t memory,unsigned items);
  18. #endif
  19. } // impl
  20. } // cppcms
  21. #endif