Hide Pender
This commit is contained in:
parent
da4f15d944
commit
07c3600127
@ -301,13 +301,13 @@ impl<F: Future + 'static, const N: usize> TaskPool<F, N> {
|
|||||||
///
|
///
|
||||||
/// Platform/architecture implementations must provide a function that can be referred to as:
|
/// Platform/architecture implementations must provide a function that can be referred to as:
|
||||||
///
|
///
|
||||||
/// ```rust///
|
/// ```rust
|
||||||
/// extern "Rust" {
|
/// extern "Rust" {
|
||||||
/// fn __pender(context: *mut ());
|
/// fn __pender(context: *mut ());
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy)]
|
||||||
pub struct Pender(*mut ());
|
pub(crate) struct Pender(*mut ());
|
||||||
|
|
||||||
unsafe impl Send for Pender {}
|
unsafe impl Send for Pender {}
|
||||||
unsafe impl Sync for Pender {}
|
unsafe impl Sync for Pender {}
|
||||||
|
Loading…
Reference in New Issue
Block a user