Make PenderContext actually pointer-size
This commit is contained in:
parent
986a63ebb8
commit
3a51e2d9ca
@ -294,7 +294,7 @@ impl<F: Future + 'static, const N: usize> TaskPool<F, N> {
|
|||||||
/// Context given to the thread-mode executor's pender.
|
/// Context given to the thread-mode executor's pender.
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy)]
|
||||||
pub struct PenderContext(usize);
|
pub struct PenderContext(*mut ());
|
||||||
|
|
||||||
/// Platform/architecture-specific action executed when an executor has pending work.
|
/// Platform/architecture-specific action executed when an executor has pending work.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user