Add lld-parking-lot module: thread-safe parking lot with Strategy, Observer and CAS-based spot claiming, 10 tests incl. 64-thread race
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Compiles with plain javac (no Maven needed) and runs the walkthrough. Needs JDK 21 or newer.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
rm -rf target/plain && mkdir -p target/plain
|
||||
javac -d target/plain $(find src/main/java -name '*.java')
|
||||
java -cp target/plain com.ankurm.interviewlab.parking.Demo
|
||||
Reference in New Issue
Block a user