mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-22 14:59:11 +00:00
actually set stack size for new threads
forgot to actually pass argument
This commit is contained in:
parent
57c306d512
commit
02c35e5f69
1 changed files with 13 additions and 12 deletions
25
main.c
25
main.c
|
@ -543,20 +543,21 @@ int main(int argc,char **argv)
|
||||||
tp = &VEC_BUF(stats,i);
|
tp = &VEC_BUF(stats,i);
|
||||||
#endif
|
#endif
|
||||||
tret = pthread_create(
|
tret = pthread_create(
|
||||||
&VEC_BUF(threads,i),0,
|
&VEC_BUF(threads,i),
|
||||||
|
tattrp,
|
||||||
#ifdef PASSPHRASE
|
#ifdef PASSPHRASE
|
||||||
deterministic
|
deterministic
|
||||||
? (wt == WT_BATCH
|
? (wt == WT_BATCH
|
||||||
? worker_batch_pass
|
? worker_batch_pass
|
||||||
: worker_fast_pass)
|
: worker_fast_pass)
|
||||||
:
|
:
|
||||||
#endif
|
#endif
|
||||||
wt == WT_BATCH
|
wt == WT_BATCH
|
||||||
? worker_batch
|
? worker_batch
|
||||||
:
|
:
|
||||||
wt == WT_FAST
|
wt == WT_FAST
|
||||||
? worker_fast
|
? worker_fast
|
||||||
: worker_slow,
|
: worker_slow,
|
||||||
tp
|
tp
|
||||||
);
|
);
|
||||||
if (tret) {
|
if (tret) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue