mirror of
https://github.com/edera-dev/krata.git
synced 2026-11-04 21:22:20 +00:00
hypha: move libraries to libs/
This commit is contained in:
36 files changed
+10
-10
No files matched your search
@@ -0,0 +1,11 @@
|
||||
use xenevtchn::error::Result;
|
||||
use xenevtchn::EventChannel;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let mut channel = EventChannel::open()?;
|
||||
println!("Channel opened.");
|
||||
let port = channel.bind_unbound_port(1)?;
|
||||
println!("port: {}", port);
|
||||
channel.unbind(port)?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user