X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_urcu_hash.h;h=0ecb781a129b2804b74a5ae8253ae2d7bd030b97;hb=9e4e7ad18c86159520b330fab94b93f7ab6d221c;hp=530a68bcd1b04c304c9c0ec06e712446d41278f9;hpb=c8c32a5208d6e624f9ae9466196e355269c611d5;p=urcu.git diff --git a/tests/benchmark/test_urcu_hash.h b/tests/benchmark/test_urcu_hash.h index 530a68b..0ecb781 100644 --- a/tests/benchmark/test_urcu_hash.h +++ b/tests/benchmark/test_urcu_hash.h @@ -111,8 +111,6 @@ cds_lfht_iter_get_test_node(struct cds_lfht_iter *iter) return to_test_node(cds_lfht_iter_get_node(iter)); } -extern volatile int test_go, test_stop; - extern unsigned long wdelay; extern unsigned long duration; @@ -160,19 +158,6 @@ extern pthread_mutex_t affinity_mutex; void set_affinity(void); -/* - * returns 0 if test should end. - */ -static inline int test_duration_write(void) -{ - return !test_stop; -} - -static inline int test_duration_read(void) -{ - return !test_stop; -} - extern DECLARE_URCU_TLS(unsigned long long, nr_writes); extern DECLARE_URCU_TLS(unsigned long long, nr_reads);