-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
project-libuserRelated to the libuserRelated to the libusertodo 🗒️Created by the todo botCreated by the todo bottype-featureNew feature or requestNew feature or request
Description
A futures-based condvar can easily be implemented entirely in userspace, without the need for any kernel help. It would have a lot less overhead than using a kernel Event.
Lines 72 to 82 in 269527c
// TODO: Implement a futures-based condvar instead of using event for in-process eventing. | |
// BODY: A futures-based condvar can easily be implemented entirely in userspace, without | |
// BODY: the need for any kernel help. It would have a lot less overhead than using a kernel Event. | |
/// Event signaled whenever a new service is registered. `get_service` waits on this event | |
/// if the wanted service is not found, to try again when a new service comes up later. | |
static ref SERVICES_EVENT: (WritableEvent, ReadableEvent) = { | |
crate::libuser::syscalls::create_event().unwrap() | |
}; | |
} | |
/// Get the length of a service encoded as an u64. |
This issue was generated by todo based on a TODO
comment in 269527c when #384 was merged. cc @roblabla.
Metadata
Metadata
Assignees
Labels
project-libuserRelated to the libuserRelated to the libusertodo 🗒️Created by the todo botCreated by the todo bottype-featureNew feature or requestNew feature or request