actually set stack size for new threads

forgot to actually pass argument
This commit is contained in:
cathugger 2020-11-23 03:38:56 +00:00
parent 57c306d512
commit 02c35e5f69
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8

25
main.c
View file

@ -543,20 +543,21 @@ int main(int argc,char **argv)
tp = &VEC_BUF(stats,i);
#endif
tret = pthread_create(
&VEC_BUF(threads,i),0,
&VEC_BUF(threads,i),
tattrp,
#ifdef PASSPHRASE
deterministic
? (wt == WT_BATCH
? worker_batch_pass
: worker_fast_pass)
:
deterministic
? (wt == WT_BATCH
? worker_batch_pass
: worker_fast_pass)
:
#endif
wt == WT_BATCH
? worker_batch
:
wt == WT_FAST
? worker_fast
: worker_slow,
wt == WT_BATCH
? worker_batch
:
wt == WT_FAST
? worker_fast
: worker_slow,
tp
);
if (tret) {