Skip to content

Instantly share code, notes, and snippets.

@linux-china
Created April 22, 2021 19:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linux-china/f71b84be4feb6e28c01b55548b342a39 to your computer and use it in GitHub Desktop.
Save linux-china/f71b84be4feb6e28c01b55548b342a39 to your computer and use it in GitHub Desktop.
Hello io_uring testing with Netty
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.netty.incubator:netty-incubator-transport-native-io_uring:0.0.5.Final:linux-x86_64
import io.netty.incubator.channel.uring.IOUring;
public class HelloIoUring {
public static void main(String[] args) {
IOUring.ensureAvailability();
System.out.println("Hello io_uring!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment