Skip to content

Doctor-Foxling/Multithreading-on-Rpi

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published