projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack test: test if number of push to empty vs pop_all match
[urcu.git]
/
tests
/
test_urcu_hash.c
diff --git
a/tests/test_urcu_hash.c
b/tests/test_urcu_hash.c
index 7a28677faf4a283d7827a51a4af73ce77f6cf977..514d0bcdcf20496805ef3fc97c90f3f51b6acb5a 100644
(file)
--- a/
tests/test_urcu_hash.c
+++ b/
tests/test_urcu_hash.c
@@
-202,7
+202,8
@@
unsigned long test_compare(const void *key1, size_t key1_len,
void *thr_count(void *arg)
{
printf_verbose("thread_begin %s, thread id : %lx, tid %lu\n",
void *thr_count(void *arg)
{
printf_verbose("thread_begin %s, thread id : %lx, tid %lu\n",
- "counter", pthread_self(), (unsigned long)gettid());
+ "counter", (unsigned long) pthread_self(),
+ (unsigned long) gettid());
rcu_register_thread();
rcu_register_thread();
@@
-544,7
+545,8
@@
int main(int argc, char **argv)
printf_verbose("Number of hash chains: %lu.\n",
nr_hash_chains);
printf_verbose("thread %-6s, thread id : %lx, tid %lu\n",
printf_verbose("Number of hash chains: %lu.\n",
nr_hash_chains);
printf_verbose("thread %-6s, thread id : %lx, tid %lu\n",
- "main", pthread_self(), (unsigned long)gettid());
+ "main", (unsigned long) pthread_self(),
+ (unsigned long) gettid());
tid_reader = malloc(sizeof(*tid_reader) * nr_readers);
if (!tid_reader) {
tid_reader = malloc(sizeof(*tid_reader) * nr_readers);
if (!tid_reader) {
This page took
0.027864 seconds
and
4
git commands to generate.