https://github.com/lliepjiok/multithreadingfibonacci
https://github.com/lliepjiok/multithreadingfibonacci
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lliepjiok/multithreadingfibonacci
- Owner: LLIEPJIOK
- Created: 2023-11-16T16:29:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T16:42:31.000Z (over 2 years ago)
- Last Synced: 2025-02-10T16:52:16.259Z (over 1 year ago)
- Language: Java
- Size: 102 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A simple multi-threaded application for calculating the nth digit in the Fibonacci series
The input is a directory in which tests with the extension ".IN" and answers to them with the extension ".OUT" are stored.
Three threads are used for processing: the first reads the data, checks it for correctness and passes it on,
the second carries out calculations and writes the answer to a file with the extension ".RES",
the third checks the received answer with the given answer in the directory and, if necessary, corrects it.
It is also possible to stop the 2nd thread during calculations.
