mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
actually set stack size for new threads
forgot to actually pass argument
This commit is contained in:
25
main.c
25
main.c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user