Skip to content

kryptohaker/concalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

concalc

Concurrency collections and patterns

Task URL: https://github.com/rgrisha/secureprog/tree/master/tasks/task3

Task 3. Concurrency collections and patterns

You have 1000 files with random numbers. When using n threads (n should be possible to adjusted live), filter out only primary numbers when showing real-time statistics:

  1. Number of threads
  2. Number of files done
  3. Last found primary number
  4. Max found primary number
  5. Min found primary number

In this task you must use concurrent collections and producer - consumer pattern.