home | Download | Guestbook | Sitemap
codelookerDownloadDatabase systemLINUX/UNIX
Search:
IPC program using thread
  • Classification:Database system - LINUX/UNIX
  • Development Tool:C-C++
  • Sise:121 KB
  • Upload time:2011/8/10 0:13:35
  • Uploader:jackinx
  • Download Statistics:
Description
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




File list:
Thread
.....\God.h
.....\Hare.h
.....\input.txt
.....\jack.h
.....\main.c
.....\Makefile
.....\out_thread.txt
.....\race
.....\ReadMe.txt
.....\Report.h
.....\submission.pdf
.....\Turtle.h
__MACOSX
.......\Thread
.......\......\._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 fifo -> this will launch the program p.s more detail you can refer README and submission files thanks"" target="_blank">IPC program using fifo] - 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
[ 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