Increase no. of injection threads to 2
Compare changes
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 74
− 33
@@ -47,14 +47,16 @@ static const int task_subtype_count = 30; // Just some upper limit on subtype.
@@ -64,25 +66,18 @@ static int volatile todo_send = 0;
@@ -101,7 +96,8 @@ static void *inject_thread(void *arg) {
@@ -146,12 +142,12 @@ static void *inject_thread(void *arg) {
@@ -160,16 +156,39 @@ static void *inject_thread(void *arg) {
@@ -198,7 +217,7 @@ static void queue_runner(struct mpiuse_log_entry **logs, int volatile *nr_logs,
@@ -248,7 +267,7 @@ static void queue_runner(struct mpiuse_log_entry **logs, int volatile *nr_logs,
@@ -319,9 +338,8 @@ static void pick_logs(void) {
@@ -338,8 +356,8 @@ static void pick_logs(void) {
@@ -348,7 +366,26 @@ static void pick_logs(void) {
@@ -432,8 +469,11 @@ int main(int argc, char *argv[]) {
@@ -443,7 +483,8 @@ int main(int argc, char *argv[]) {