Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
aoli-al committed Jul 31, 2024
1 parent d2fc3fe commit da16e04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Please make sure you have Java 21 installed. To build the native plugin, you als

```bash
./gradlew build
export PATH=$PATH:$(pwd)/bin
```

## Example
Expand All @@ -34,7 +35,7 @@ In the most cases, the program will show an `AssertionError`.
The easiest way to run Fray is to replace `java` with `fray` in your command line. For example, if you want to run the following command:

```bash
./bin/fray -cp ./out/ example.FrayExample
fray -cp ./out/ example.FrayExample
```

Fray will run the application with a random scheduler. Dependening on the schedule you may either see a `DeadlockException`:
Expand Down Expand Up @@ -88,7 +89,7 @@ And you may find the recorded schedule in the `/tmp/report/` directory.
To replay a schedule, you may run the following command:

```bash
./bin/fray --replay /tmp/report/schedule_0.json -cp ./out/ example.FrayExample
fray --replay /tmp/report/schedule_0.json -cp ./out/ example.FrayExample
```


Expand Down

0 comments on commit da16e04

Please sign in to comment.