Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 898562
Collapse All | Expand All

(-)a/t/io_uring.c (-3 / +2 lines)
Lines 618-625 static int submitter_init(struct submitter *s) Link Here
618
	s->tid = gettid();
618
	s->tid = gettid();
619
	printf("submitter=%d, tid=%d\n", s->index, s->tid);
619
	printf("submitter=%d, tid=%d\n", s->index, s->tid);
620
620
621
	__init_rand64(&s->rand_state, pthread_self());
621
	__init_rand64(&s->rand_state, (long)pthread_self());
622
	srand48(pthread_self());
622
	srand48((long)pthread_self());
623
623
624
	for (i = 0; i < MAX_FDS; i++)
624
	for (i = 0; i < MAX_FDS; i++)
625
		s->files[i].fileno = i;
625
		s->files[i].fileno = i;
626
- 

Return to bug 898562