Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mariosimao/sd-trab3
https://github.com/mariosimao/sd-trab3
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mariosimao/sd-trab3
- Owner: mariosimao
- Created: 2022-07-02T02:57:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T02:18:15.000Z (over 2 years ago)
- Last Synced: 2024-10-13T16:32:26.051Z (3 months ago)
- Language: C++
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Centralized algorithm for distributed mutual exclusion
## Compilation
To compile both coordinator server and client program:
```bash
$ make all
```## Usage
To execute the coordinator server:
```bash
$ ./coordinator
```To execute the client process:
```bash
$ ./process
```Example:
```bash
$ ./process 1 3
```## Cleanup
To remove the executables, result file, logs and free the coordinator server port (8081):
```bash
$ make clean
```