projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix data type, should now be long rather than int.
[userspace-rcu.git]
/
urcu.c
diff --git
a/urcu.c
b/urcu.c
index 5514b278e4322b0f600a6d3427eab700057dc573..53c7f37677f762280b2a6337a6820bdf22c55faf 100644
(file)
--- a/
urcu.c
+++ b/
urcu.c
@@
-20,9
+20,9
@@
pthread_mutex_t urcu_mutex = PTHREAD_MUTEX_INITIALIZER;
/* Global grace period counter */
pthread_mutex_t urcu_mutex = PTHREAD_MUTEX_INITIALIZER;
/* Global grace period counter */
-
int
urcu_gp_ctr;
+
long
urcu_gp_ctr;
-
int
__thread urcu_active_readers;
+
long
__thread urcu_active_readers;
/* Thread IDs of registered readers */
#define INIT_NUM_THREADS 4
/* Thread IDs of registered readers */
#define INIT_NUM_THREADS 4
This page took
0.024585 seconds
and
4
git commands to generate.