Code Monkey home page Code Monkey logo

osproj's Introduction

OS Project

to run... Job (1) make ./sws port algo (./sws 30808 SJF) Job (2) Either visit localhost:30808/file.txt or ./hydra < test1.in

/*

  • Global TODO:
  •   - Right now all requests stored in global struct array,
    
  •     May need to change to Queue data structure as elements will have to
    
  •     be pulled in and out. 
    
  •   - Also means that requests will have to be identified in the structure
    
  •     By their sequence ID instead of array posistion as they are currently 
    
  •   - Currently storing retrun value from network_open() in structs/arrays as 
    
  •     fd, this is just an int value though so it doesnt seem to have any meaning
    
  •      to the client if stored in the array and accessed later
    
  •   - Currently using sequence (& possibly file descriptor) to identify certain structures
    
  •     in the linked list. May be a better way to to this
    
  •   - **** To itterate through the linked list you have a while loop,
    
  •          You cannot assign to values outside the loop scope, 
    
  •          Therefore you cannot do something like itterate to find smallest file size
    
  •   - General cleanup / modularity improvements if possible
    
  •   - Sequencing algorithms + threads
    
  •   - Program cannot handle 404 file not found and continue, Causes Seg Fault
    
  •     Not sure where exactly but probably to do with connections/ports/filestreams
    
  •     Being open to serve the request, tried to close connections/streams on 404
    
  •     And leave functions but it didnt work
    

*/ # OSProj

OSProj

osproj's People

Stargazers

 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.