Giter VIP home page Giter VIP logo

os5's Introduction

OS_5

Alon Barak & Idan Philosoph.

The fifth assignment of the Operating Systems Course.
This repo contains an implementation of a forked server which serves as a stack to its client.
Each Client preform as a sub-process of the Server, sub-processes communicate with each-other using mmap().
In this project we were inspired by https://github.com/andrestc/linux-prog/blob/master/ch7/malloc.c repo,
for the Malloc and Free functions.

  • The server can handle up to 10 clients in real time.
  • The implementation of the Stack and the Dynamic Memory Allocation functions you can find at the "Stack.cpp" file.

How to run the Project on your Machine:

  1. Git Clone the Project to your Machine:
$ git clone https://github.com/Pianissimo7/OS5.git
  1. Compile the code :
$ make all
  1. Run the Server :
$ ./server
  1. Run a Client :
$ ./client 127.0.0.1
  • Please noitce that the server is listen on port 3600 at 127.0.0.1

  • P.S. The client connect directly to the server and no work should be done by the user!

Test:

1.Compile the code :

$ make all
  1. Run the Test:
$ ./test
  1. Stop the server when done:
$ ctrl + c

More Information:

You might find the next videos very helpful in understanding the principles that guide us throught the Project, enjoy :-)

os5's People

Contributors

alonbarak-dev avatar pianissimo7 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.