Message: Assigning number of events to each thread Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Assigning number of events to each thread 

Forum: Multithreading
Date: 27 Apr, 2015
From: Nick Patterson <Nick Patterson>

Hi,

I was wondering what the appropriate way to assign each thread a number of events to process. For example I have 8 threads and 10,000 as a quick example. How can I force each thread to do the following:-

Thread      Events
1               1000
2               1000
3               1000
4               1000
5               1000
6               1000
7               1000
8               3000

Any ideas?

Nick.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Assigning number of events to each thread   (Makoto Asai - 27 Apr, 2015)
 Add Message Add Message
to: "Assigning number of events to each thread"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews