Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.35 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.35 KB

Multithreading-on-Rpi

The project explores the advantages of writing multi-threaded code over traditional, sequential style code. A multi-threaded C-program is created on a Raspberry-pi that makes use of the multiple cores of a Raspberry-pi and runs simultaneously. Two shell scripts are forked as child processes, that grabs the background system data, at the time when the multi-threaded code is running and this data is then piped into two respective text files. A Perl script is used to break the stored data to extract useful information that is used to analyse the working of OS as the Kernel-Level threads are created.

A detailed explaination is provided Here.

What I learned

  • Learned to write multi-threaded code
  • Learned to work with multiple child processes spawned from a parent process
  • Improved shell scripting skills
  • Learned to write code in Perl
  • Gained a deeper understanding of the lower level workings of an OS

Screenshots