Giter Club home page Giter Club logo

os-linux-kernel-exercises's Introduction

Linux Kernel

The code is based on questions from the textbook, Operating System Concepts, 9th Edition by Abraham Silberschatz.

Description of files:

  • linux_kernel_linked_list.c: creates a linked list containing five struct birthday elements, traverses the linked list and outputs its contents to the kernel log buffer. It then deletes the elements from the linked list and returns the free memory back to the kernel.
  • process_identifier_manager.c: creates and initializes a data structure for representing process identifiers, allocates and returns a process identifier and releases a process identifier.
  • collatz_conjecture.c: uses the fork() system call to generate the Collatz conjecture sequence in the child process.
  • pid_manager_multithreads: builds a multithreaded program that tests process_identifier_manager.c.
  • multithreaded_sorting_algorithm.c: a multithreaded sorting program.
  • pthread_mutex.c
  • dining_philosopher.c

Unix System Calls

The header file unistd.h provides access to the POSIX operating system API:

  • Process Control: fork() - used to create a new process exit() wait()
  • File Manipulation: open() read() write() close()
  • Device Manipulation: ioctl() read() write
  • Information Maintenance: getpid() alarm() sleep()
  • Communication: pipe() shm_open() mmap()
  • Protection: chmod() unmask() chown()

os-linux-kernel-exercises's People

Contributors

ashwinrase avatar bovojon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.