mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
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:
|
||||
///
|
||||
/// ```rust///
|
||||
/// ```rust
|
||||
/// extern "Rust" {
|
||||
/// fn __pender(context: *mut ());
|
||||
/// }
|
||||
/// ```
|
||||
#[derive(Clone, Copy)]
|
||||
pub struct Pender(*mut ());
|
||||
pub(crate) struct Pender(*mut ());
|
||||
|
||||
unsafe impl Send for Pender {}
|
||||
unsafe impl Sync for Pender {}
|
||||
|
Loading…
Reference in New Issue
Block a user