Created
April 22, 2021 19:21
-
-
Save linux-china/f71b84be4feb6e28c01b55548b342a39 to your computer and use it in GitHub Desktop.
Hello io_uring testing with Netty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///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