To accelerate the processing, we would like to split the original list of messages into 3. Rewrite the main function in b) such that 3 concurrent go function are created. Your program should work for list of any size without having to modify the code (except the array initialization). [6] // call go funtions go CaesarCipherList( go CaesarCipherList ( go CaesarCipherList(_ // process first 1/3 of messages??? // process second 1/3 of messages??? // process last 1/3 of messages???

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 18PE
icon
Related questions
Question
To accelerate the processing, we would like to split the original list of messages into 3. Rewrite
the mainfunction in b) such that 3 concurrent go function are created. Your program should
work for list of any size without having to modify the code (except the array initialization). [6]
// call go funtions
go CaesarCipherList(_
go CaesarCipherList(
go CaesarCipherList(
// process first 1/3 of messages???
) // process second 1/3 of messages???
// process last 1/3 of messages???
Transcribed Image Text:To accelerate the processing, we would like to split the original list of messages into 3. Rewrite the mainfunction in b) such that 3 concurrent go function are created. Your program should work for list of any size without having to modify the code (except the array initialization). [6] // call go funtions go CaesarCipherList(_ go CaesarCipherList( go CaesarCipherList( // process first 1/3 of messages??? ) // process second 1/3 of messages??? // process last 1/3 of messages???
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning