diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/demo/Freeze/Makefile | 5 | ||||
-rw-r--r-- | cpp/demo/Freeze/customEvictor/README | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/Makefile b/cpp/demo/Freeze/Makefile index dd3793652a0..b4dc2f4e285 100644 --- a/cpp/demo/Freeze/Makefile +++ b/cpp/demo/Freeze/Makefile @@ -11,7 +11,10 @@ top_srcdir = ../.. include $(top_srcdir)/config/Make.rules -SUBDIRS = phonebook bench library backup customEvictor +SUBDIRS = phonebook bench library backup +ifneq ($(UNAME),Darwin) +SUBDIRS += customEvictor +endif $(EVERYTHING):: @for subdir in $(SUBDIRS); \ diff --git a/cpp/demo/Freeze/customEvictor/README b/cpp/demo/Freeze/customEvictor/README index a141409257a..aaa11afba3c 100644 --- a/cpp/demo/Freeze/customEvictor/README +++ b/cpp/demo/Freeze/customEvictor/README @@ -1,3 +1,6 @@ +NOTE: this demo is not supported on Mac OS X due to the lack of +support for the "__thread" specifier (for thread-local storage). + This demo shows how to write a custom evictor using IceUtil::Cache, and compares the performance of this evictor to the performance of a simple evictor implemented using EvictorBase (described in the |