Coder Social home page Coder Social logo

ishanjoshi02 / operating-systems Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 6.0 121.94 MB

Codes for my Operating Systems' Class

C 93.61% Shell 6.34% Makefile 0.05%
c inter-process-communication thread thread-synchronization multi-threading semaphore linux kernel

operating-systems's Introduction

OS

Codes for my Operating Systems' Class

Assignments

Complete OS Assignment Aims are included in Assignments.md

Assignment 1 : Shell Programming

Assignment 2 : Process Control System Calls

Assignment 3 : Multi-Threading

Assignment 4 : Thread Synchronization using Counting Semaphores

Assignment 5 : Thread Synchronization and Mutual Exclusion using Mutex

Assignment 6 : Deadlock Avoidvance using Semaphores (Dining Philosophers' Problem)

Assignment 7 : Inter Process Communication using Anonymous and Named Pipes

Assignment 8 : Inter Process Communication using Shared Memory

Assignment 9 : File Handling System Calls

Assignment 10 : Kernel Compilation

Final Codes only

Write these files into your disc. Warning: These Program are correct but may not contain all the changes.

Sample Programs

Sample Programs are simple programs used to demonstrate concepts used in the final assignment.

All Sample Programs like creating a Thread, that prints Hello World, are saved in a Folder called Sample Programs in their Respective Assignments. i.e. The above Program is saved in

'Assignment 2/Sample Programs'

unistd.h not Found Error

Resolve this Error by installing g++ compiler

sudo apt install g++

Now you should be able to compile your .c Files

Compiling Programs with Multi-Threading

gcc -pthread demo.c

This is done to explicitly tell gcc to include pthread Library during compilation.

Credits

Assignment 1 and Bug Fixes : Sujay Mahadik

Assignment 2 and Bug Fixes: Abhijeet Nawale

Assignment 2 (Binary Search) : Ashish Gaurav

Sample Shell Programs (Assignment 1) : Neeraj Lagwankar

Assignment 6 : Suraj Kulkarni

Assignment 10 : Chinmay Bhate

Writeups : Gauri Karekar

operating-systems's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

operating-systems's Issues

Internal Documentation

This repository unfortunately lacks the much needed internal documentation. If anybody is interested, please help me explain the code I have written

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.