Coder Social home page Coder Social logo

ios-project-2's Introduction

IOS 2. project post office

The task was inpired by Allen B. Downey: The Little Book of Semaphores (The barbershop problem) https://greenteapress.com/wp/semaphores/

Result

points: 15/15

Usage:

Options: 
 all                    compiles program
 clear                  clears all .txt .o and .out files
 test                   run program with test intut
 valgrind               test program with valgrind 
 helgrind               test program with valringds mode helgrind
 zip                    compess program files to zip
 upload                 upload proj2.zip to merlin
 merlin                 login into merlin throught ssh
 kill                   delete semaphoresm, kill all processes named proj2
 show                   show information about shared memory and semaphores
 help                   print help

Arguments

$ ./proj2 NZ NU TZ TU F
• NZ: Number of customers
• NU: Number of officials
• TZ: Maximum time in miliseconds, that customers waits after creation and before they enters the post office (eventually leaves, when post office is closed) 0 <= TZ <= 10000
• TU: Maximum time of official break in miliseconds 0 <= TU <= 100
• F: Maximum time in miliseconds in which post office is open for new customers 0 <= F <= 10000

Testing:

https://github.com/Blacki005/IOS_tester_2023
https://github.com/jakubblaha-ids/IOS-Project-2-Tests-2023
https://github.com/matusHubinsky/IOS-2-project-deadlock-tester

ios-project-2's People

Contributors

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