00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc 00008 * 123 Front Street West, Suite 1401 00009 * Toronto, Ontario 00010 * Canada M5J 2M2 00011 * 416-504-9876 00012 * 00013 * NAME: UT_ConcurrentHashMap.h (UT Library, C++) 00014 * 00015 * COMMENTS: Wrapper around Intel TBB's concurrent_hash_map container. 00016 * Microsoft will probably have an implementation of this in their 00017 * Concurrent Runtime Parallel Patterns Library (PPL) since they 00018 * already have concurrent_vector and concurrent_queue. 00019 * 00020 */ 00021 00022 #ifndef __UT_CONCURRENTHASHMAP_H_INCLUDED__ 00023 #define __UT_CONCURRENTHASHMAP_H_INCLUDED__ 00024 00025 #include "UT_API.h" 00026 #include <tbb/concurrent_hash_map.h> 00027 00028 // Due to current C++ inadequacies, we have to wrap the TBB template classes 00029 // using a define 00030 #define UT_ConcurrentHashMap tbb::concurrent_hash_map 00031 00032 #endif // __UT_CONCURRENTHASHMAP_H_INCLUDED__
1.5.9