Giter Site home page Giter Site logo

sharedmemory-messagequeue's Introduction

					Summer 2018 
					Operating system : 351-01
					Assignment #1

I.Group members:

	1.	Henry Ho
		714-688-6858
		[email protected]
		Last 4 CWID: 1548

		
	2.	David Luong
		714-613-3616
		[email protected]
		Last 4 CWID: 5577

		
	3.	Xiaomei Ji
		310-880-0312
		[email protected]
		Last 4 CWID: 5214

II.Program languages used: c++, recommend linux computer 64 bits architechure.

III.Implemented the extra credit? No

IV.How to execute:

	1. Download the file p1-hhenry.tar

	2. Open terminal, from there navigate to the directory where p1-hhenry.tar
	   has been downloaded.You also can open that folder and then right click
	   select open terminal.

	3. Type this command on the terminal above: tar -xvf p1-hhenry.tar
	   This will extract the file to the current directory.

	4. Use terminal to navigate to the directory name p1-hhenry
	   from the directory you have just extracted above or just use the mouse
	   to open it by double click on it.

	5. When you are in the p1-hhenry directory, compile all the code using Makefile
	   type this command and hit enter: 
				               make

	6. Run the sender process using command and hit enter:
	                 ./sender keyfile.txt

	7. After step 6 the sender process will lock the terminal and waiting for 
	   the receiver process to take action, so we have to Open another terminal
           in the same directory to run the receiver process. 
	   Using command:
				./recv

	8. After running receiver executable, both process will be finished
	   and we can check in that folder to find a recvfile file. This file
	   should contain: Hello world

	9.You're done! 

V.p1-henry.tar contains:

	1-	keyfile.txt
	2-	msg.h
	3-	Makefile
	4-	README
	5-	recv.cpp
	6-	sender.cpp
	7-	screenShotSampleRun.png
	8-	Assignment1.pdf
	9-	Design.pdf

	*Note: after running the program the 1st time. The recvfile will be created.
         If you want to run it second time, you can delete it because it will be made.	

VI.Collaboration: 

	We don't separate the work for each team member, instead we sat down and 
	did the coding together, step by step. We went over each fucntion that 
	we used and try to understand them. We also explain what it does for 
	everyone in our team, make sure everyone will understand the problems 
	and how all the functions work, understand the purpose of this 	assignment.
	We also used githup to do the coding.


sharedmemory-messagequeue's People

Contributors

ecshenryho avatar

Watchers

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