mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
Fixed for a futex race conditon and infinite polling
This commit is contained in:
@@ -177,7 +177,7 @@ pub trait VirtualNetworking: fmt::Debug + Send + Sync + 'static {
|
||||
|
||||
pub type DynVirtualNetworking = Arc<dyn VirtualNetworking>;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SocketReceive {
|
||||
/// Data that was received
|
||||
pub data: Bytes,
|
||||
@@ -185,7 +185,7 @@ pub struct SocketReceive {
|
||||
pub truncated: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SocketReceiveFrom {
|
||||
/// Data that was received
|
||||
pub data: Bytes,
|
||||
|
||||
Reference in New Issue
Block a user