mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
@ -195,7 +195,7 @@ Native_capability Native_thread::Epoll::alloc_rpc_cap()
|
||||
|
||||
dst.foreign = false;
|
||||
|
||||
_exec_control([&] () { _add(socketpair.local); });
|
||||
_exec_control([&] { _add(socketpair.local); });
|
||||
|
||||
return Capability_space::import(dst, Rpc_obj_key(socketpair.local.value));
|
||||
}
|
||||
@ -205,5 +205,5 @@ void Native_thread::Epoll::free_rpc_cap(Native_capability cap)
|
||||
{
|
||||
int const local_socket = (int)Capability_space::ipc_cap_data(cap).rpc_obj_key.value();
|
||||
|
||||
_exec_control([&] () { _remove(Lx_sd{local_socket}); });
|
||||
_exec_control([&] { _remove(Lx_sd{local_socket}); });
|
||||
}
|
||||
|
Reference in New Issue
Block a user