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);
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user