You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pure for learning purposes, why does RawTask use raw pointers for output, header, etc? Is it mostly for performance reason?
/// Raw pointers to the fields inside a task.
pub(crate) struct RawTask<F, R, S, T> {
/// The task header.
pub(crate) header: *const Header,
/// The schedule function.
pub(crate) schedule: *const S,
/// The tag inside the task.
pub(crate) tag: *mut T,
/// The future.
pub(crate) future: *mut F,
/// The output of the future.
pub(crate) output: *mut R,
}
The text was updated successfully, but these errors were encountered:
Pure for learning purposes, why does
RawTask
use raw pointers foroutput
,header
, etc? Is it mostly for performance reason?The text was updated successfully, but these errors were encountered: