udp: remove glommio implementation

This commit is contained in:
Joakim Frostegård 2021-11-14 21:59:06 +01:00
parent 7b20942d0f
commit 4641dd29f2
22 changed files with 465 additions and 1202 deletions

View file

@ -2,14 +2,16 @@
. ./scripts/env-native-cpu-without-avx-512
USAGE="Usage: $0 [mio|io-uring] [ARGS]"
if [ "$1" != "mio" ] && [ "$1" != "glommio" ] && [ "$1" != "io-uring" ]; then
echo "Usage: $0 [mio|glommio|io-uring] [ARGS]"
echo "$USAGE"
else
if [ "$1" = "mio" ]; then
cargo run --release --bin aquatic_udp -- "${@:2}"
elif [ "$1" = "io-uring" ]; then
cargo run --release --features "with-io-uring" --no-default-features --bin aquatic_udp -- "${@:2}"
else
cargo run --release --features "with-glommio" --no-default-features --bin aquatic_udp -- "${@:2}"
echo "$USAGE"
fi
fi