projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4248575
)
mpmc-queue.cc init size fixed
author
Peizhao Ou
<peizhaoo@uci.edu>
Tue, 25 Mar 2014 16:46:41 +0000
(09:46 -0700)
committer
Peizhao Ou
<peizhaoo@uci.edu>
Tue, 25 Mar 2014 16:46:41 +0000
(09:46 -0700)
benchmark/mpmc-queue/mpmc-queue.cc
patch
|
blob
|
history
diff --git
a/benchmark/mpmc-queue/mpmc-queue.cc
b/benchmark/mpmc-queue/mpmc-queue.cc
index
ca063e9
..
3a19045
100644
(file)
--- a/
benchmark/mpmc-queue/mpmc-queue.cc
+++ b/
benchmark/mpmc-queue/mpmc-queue.cc
@@
-108,7
+108,7
@@
void process_params(int argc, char **argv)
int user_main(int argc, char **argv)
{
- struct mpmc_boundq_1_alt<int32_t,
2
> queue;
+ struct mpmc_boundq_1_alt<int32_t,
sizeof(int32_t)
> queue;
thrd_t A[MAXWRITERS], B[MAXREADERS], C[MAXRDWR];
/* Note: optarg() / optind is broken in model-checker - workaround is