Giter Club home page Giter Club logo

os_practice's Introduction

操作系统原理实验

  • a3.2:进程间通信,采用无名管道进行父子进程间的通信
  • client.c server.c:进程间通信,采用消息队列通信机制实现无亲缘进程的通信
  • a4:动态优先级进程调度模拟
  • a5:动态分区分配模拟
  • 文件均为UTF-8编码,第三个实验需要用到管道和消息队列等,必须在Linux下编译运行,在Windows会报错

效果展示:

Client & Server

开启服务器,等待客户端请求连接(此服务器pid为3247)

开启客户端,通过消息队列向服务器发送消息(此客户端pid为3249)

输入内容"this is the client"将此消息发送给服务器,提示成功发送并从pid为3247的服务器得到响应(如果同时开着多个server则情况会有所不同)

输出从client中得到的pid与内容content.

A4

A5

测试操作:首次适应算法的默认数据测试

os_practice's People

Watchers

James Cloos 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.