projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/common: Remove urcu-signal common test files
[userspace-rcu.git]
/
tests
/
common
/
debug-yield.h
diff --git
a/tests/common/debug-yield.h
b/tests/common/debug-yield.h
index b6d3c102f8260eb62520a3e18bc6c72c69f0de86..7d4f62ac7e6047d88bc4b6af16195eab7867eba8 100644
(file)
--- a/
tests/common/debug-yield.h
+++ b/
tests/common/debug-yield.h
@@
-22,15
+22,7
@@
#define RCU_YIELD_READ (1 << 0)
#define RCU_YIELD_WRITE (1 << 1)
#define RCU_YIELD_READ (1 << 0)
#define RCU_YIELD_WRITE (1 << 1)
-/*
- * Updates with RCU_SIGNAL are much slower. Account this in the delay.
- */
-#ifdef RCU_SIGNAL
-/* maximum sleep delay, in us */
-#define MAX_SLEEP 30000
-#else
#define MAX_SLEEP 50
#define MAX_SLEEP 50
-#endif
extern unsigned int rcu_yield_active;
extern DECLARE_URCU_TLS(unsigned int, rcu_rand_yield);
extern unsigned int rcu_yield_active;
extern DECLARE_URCU_TLS(unsigned int, rcu_rand_yield);
This page took
0.025047 seconds
and
4
git commands to generate.