GithubHelp home page GithubHelp logo

operating_system_lab's Introduction

Operating System programs in C

Exp-01_Process_Tree

  • process_tree.c: Create process tree, delete parent nodes and find parent of orphaned process.
  • time_shm.c: Determines the amount of time necessary to run a command from the command line using shared memory objects.
  • time_pipe.c: Determines the amount of time necessary to run a command from the command line using pipes.
  • pid_manager.c: Implement pid manager using bitmap.

Exp-02_Custom_Shell

  • myShell.c: Custom shell on linux.

Exp-03_Custom_System_Call

  • userspace.c: Test custom system call added to Linux kernel.

Exp-04_Collatz_Conjecture

  • collatz.c: Create child process which applies the collatz conjecture algorithm on a positive integer.
  • collatz_thread.c: Create child thread which applies the collatz conjecture algorithm on a positive integer.

Exp-05_Fibonacci

  • fibonacci.c: Create child thread which calculates first n terms of the fibonacci sequence.

Exp-06_Matrix_Multiplication

  • matrix_mul.c: Multiply two matrices using multithreading (POSIX pthreads).

Exp-07_CPU_Scheduling

  • sched.c: Simulate CPU scheduling algorithms (FCFS, SJF and SRTF)

Exp-08_Synchronization_Problems

  • prdcr_cnsmr.c: Producer-Consumer synchronization problem
  • din_phil.c: Dining-Philosophers problem

Exp-09_Bankers_Algorithm

  • banker.c: Banker's Algorithm

Exp-10_Contiguous_Memory_Allocation

  • cont_mem_alloc.c: Contiguous Memory Allocation for First, Best and Worst fit algorithms

operating_system_lab's People

Contributors

gandharvjain avatar

Stargazers

 avatar

Watchers

 avatar

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.