tlds
Transactional Operations for Linked Data Structures
|
#include <tm_hash_set.hpp>
Public Member Functions | |
virtual TRANSACTION_SAFE void | insert (const T item) |
virtual TRANSACTION_SAFE void | remove (const T item) |
virtual bool | lookup (const T item) |
virtual void | apply_to_all (void(*f)(T item)) |
tm_hash_set (int capacity) | |
virtual | ~tm_hash_set () |
void | print_stats () |
Public Member Functions inherited from tm_set< T > | |
virtual | ~tm_set () |
Private Member Functions | |
tm_hash_set (const tm_hash_set &) | |
tm_hash_set & | operator= (const tm_hash_set &) |
TRANSACTION_SAFE unsigned long | hash (T item) |
Private Attributes | |
tm_list_set< T > ** | bucket |
int | num_buckets |
Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering
License: Modified BSD Please see the file LICENSE.RSTM for licensing information
|
private |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements tm_set< T >.
|
inlineprivate |
|
inlinevirtual |
|
inlinevirtual |
|
private |
|
inline |
|
inlinevirtual |
|
private |
|
private |