fix(idm): reimplement packet processing algorithm (#330)

* chore(xen): rewrite event channel code

* fix(idm): repair idm bugs on the file backend
This commit is contained in:
alex authored and GitHub committed 2024-08-13 23:18:27 +00:00
1 parent ffc9dcc0ea
commit 1cf03a460e
16 files changed
+272 -170

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
use xenevtchn::error::Result;
use xenevtchn::EventChannel;
use xenevtchn::EventChannelService;
#[tokio::main]
async fn main() -> Result<()> {
let channel = EventChannel::open().await?;
let channel = EventChannelService::open().await?;
println!("channel opened");
let port = channel.bind_unbound_port(0).await?;
println!("port: {}", port);