[ Design and Implementation of the Singhal token based mutual exclusion algorithm in kernel-space of FreeBSD ]
===========
QUICK START
===========
To run a test:
for each site (computer):
STEP 1: make and install kld:
$ cd ./src/
$ make load
STEP 2: make test script
$ cd ./test/auto-test/
$ cc unit-test.c -o unit-test
unit-test will be created
This small prog is used for calling syscalls.
STEP 3: Initialize algorithm
// Running MCall program
$ cd ./MCall/
$ make
$ ./MCall
// Enter your site ID
STEP 4: run echo-server java program
// compile it
$ javac EchoServer.java
// run it
$ java EchoServer.class
STEP 5: test it! (In new terminal)
// run unit-test program
$ ./unit-test <Echo server IP> <PORT#> <Your ID>
Enjoy !!! :D
==============
Making Contact
==============
Vahid Khodabakhshi <vkhodabakhshi@ce.sharif.edu>
Vahid Ranjbar <vranjbar@ce.sharif.edu