GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TIFitis/Distributed-Computing

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
Project.cpp
Project.cpp
 
 
README.MD
README.MD
 
 
input.dat
input.dat
 
 
masterServer.cpp
masterServer.cpp
 
 
output.dat
output.dat
 
 

Repository files navigation

Hybrid Mutual Exclusion in Distributed Systems

All the files are precompiled in the names, masterserver, vc and sk, however you may recompile them from the source codes, with -lpthread appended, please see the image for reference.

Step 1:

Run the Project.out with <input.dat and >log.dat, to take input from the input.dat file, and output them to the log.dat file.

Step 2:

Open n new terminals where n is the no. of processes, and execute the client process from each, the processes should be showing how many more processes they are expecting to connect before they all start executing.

Step3:

After each process outputs the message "All tasks completed...", you may close the masterserver program, along with rest of the terminals.

Step4:

While executing the process do output to the terminal whenever any event occurs, also the log file gives a detailed overview.

Input File Format:

Input file must contain n, l, a, m where n is no. of processes, l is inter event delay in secs(integer), a is the ratio of internal and message sending events(double), and m is total no. of events(int). Followed by the topology in the form of adjacency matrix.

Note: Adjacency Matrix has been used as input instead of Adjacency List, as in the samle input format there was no identifier mentioned to indicate where the list of one process ends, and another starts, ie, if Adjacency list is

1 2 3 4 5 1 3 7 8 9 0

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.