/Operating-Systems-Lab-S4

This repository contains programs done as a part of KTU S4 Operating Systems Lab

Primary LanguageC

πŸŒ€ Operating-Systems-Lab-S4 πŸŒ€

This repository contains programs done as a part of KTU S4 Operating Systems Lab

πŸ‘‰πŸ»Cycle-1

πŸ‘‰πŸ»Cycle-2

  1. Program to create 2 process one parent process must bring odd numbers up to limit n. At the same time child process must bring even numbers up to n. Also print the process id.
    πŸ‘‰πŸ»Code πŸ‘‰πŸ»Output
  2. Program to create a thread called add, which access two integers from the user and print the sum.
    πŸ‘‰πŸ»Code πŸ‘‰πŸ»Output
  3. Program to create two thread and execute the addition of two numbers parallely in both threads.
    πŸ‘‰πŸ»Code πŸ‘‰πŸ»Output

πŸ‘‰πŸ»Cycle-3