home | Download | Guestbook | Sitemap
codelookerDownloadDatabase systemLINUX/UNIX
Search:
IPC program using fifo
  • Classification:Database system - LINUX/UNIX
  • Development Tool:C-C++
  • Sise:135 KB
  • Upload time:2011/8/10 0:12:09
  • Uploader:jackinx
  • Download Statistics:
Description
This is programmed on Ubuntu 10.04 Inter Process Communication program assignment Using fifo, make 3 processes for Hare, Turtle and God They do race, Hare runs fast, Turtle runs slow(configured by "input.txt") when Hare overcome Turtle, then Hare go to sleep for a while. God can interrupt anytime before the race finish. God can adjust hare or turtle's location. ---------- implemented using fifo, through C. I used GNU compiler gcc test method : make all -> this will compile make fifo -> this will launch the program p.s more detail you can refer README and submission files thanks




File list:
fifo 2
.....\fifo.sh
.....\god
.....\God.c
.....\hare
.....\Hare.c
.....\input.txt
.....\jack.h
.....\main.c
.....\Makefile
.....\output.txt
.....\out_fifo.txt
.....\race
.....\ReadMe.txt
.....\report
.....\Report.c
.....\submission.pdf
.....\turtle
.....\Turtle.c
__MACOSX
.......\fifo 2
.......\......\._main.c
.......\......\._ReadMe.txt
If you are a member, Log in. If you are not a member, Please register
Related source code
[ this will compile make thread -> this will launch the program p.s more detail you can refer README and submission files thanks"" target="_blank">IPC program using thread] - This is programmed on Ubuntu 10.04 Inter Process Communication program assignment Using thread, make 3 thread for Hare, Turtle and God They do race, Hare runs fast, Turtle runs slow(configured by "input.txt") when Hare overcome Turtle, then Hare go to sleep for a while. God can interrupt anytime before the race finish. God can adjust hare or turtle's location. ---------- implemented using thread, through C. I used GNU compiler gcc test method : make all -> this will compile make thread -> this will launch the program p.s more detail you can refer README and submission files thanks
[ this will compile make pipe -> this will launch the program p.s more detail you can refer README and submission files thanks"" target="_blank">IPC program using pipe] - This is programmed on Ubuntu 10.04 Inter Process Communication program assignment Using Pipe, make 3 processes for Hare, Turtle and God They do race, Hare runs fast, Turtle runs slow(configured by "input.txt") when Hare overcome Turtle, then Hare go to sleep for a while. God can interrupt anytime before the race finish. God can adjust hare or turtle's location. ---------- implemented using pipe, through C. I used GNU compiler gcc test method : make all -> this will compile make pipe -> this will launch the program p.s more detail you can refer README and submission files thanks
Download Address
download DownLoad
Comments: Don't forget to comment after downloading! Comment...
About - Advertise - Sitemap