API reference Dodo 0.1.4

std/sync/linux

Public declarations, types, methods, and source contracts for std/sync/linux.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/sync/linux"

This is a provider or implementation package. Start with the linked guide’s application API; native declarations depend on the selected target.

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

This package has no source imports.

dodo_sync_init

Function · Source

Internal ABI to runtime.c, compiled against target platform headers. All pointers require live, stable, initialized storage owned by a Dodo wrapper.

pub unsafe extern "C" fn dodo_sync_init(memory: *mut u8, bytes: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_destroy

Function · Source

pub unsafe extern "C" fn dodo_sync_destroy(memory: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_lock

Function · Source

pub unsafe extern "C" fn dodo_sync_lock(memory: *mut u8, shared: i32, timeout: u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_unlock

Function · Source

pub unsafe extern "C" fn dodo_sync_unlock(memory: *mut u8, shared: i32)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_wait

Function · Source

pub unsafe extern "C" fn dodo_sync_wait(memory: *mut u8, timeout: u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_notify

Function · Source

pub unsafe extern "C" fn dodo_sync_notify(memory: *mut u8, all: i32)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_cancel

Function · Source

pub unsafe extern "C" fn dodo_sync_cancel(memory: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_barrier_init

Function · Source

pub unsafe extern "C" fn dodo_sync_barrier_init(memory: *mut u8, parties: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_barrier_wait

Function · Source

pub unsafe extern "C" fn dodo_sync_barrier_wait(memory: *mut u8, timeout: u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_channel_init

Function · Source

pub unsafe extern "C" fn dodo_sync_channel_init(memory: *mut u8, ring: *mut u8, capacity: usize, stride: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_send

Function · Source

pub unsafe extern "C" fn dodo_sync_send(memory: *mut u8, value: *const u8, timeout: u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_receive

Function · Source

pub unsafe extern "C" fn dodo_sync_receive(memory: *mut u8, value: *mut u8, timeout: u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_close

Function · Source

pub unsafe extern "C" fn dodo_sync_close(memory: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_allocate

Function · Source

pub unsafe extern "C" fn dodo_sync_allocate(payload: usize, alignment: usize) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_retain

Function · Source

pub unsafe extern "C" fn dodo_sync_retain(memory: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_release

Function · Source

pub unsafe extern "C" fn dodo_sync_release(memory: *mut u8) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_sync_free

Function · Source

pub unsafe extern "C" fn dodo_sync_free(memory: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

Type to search all documentation.

Keyboard shortcuts

Search documentation
Ctrl K or /
Move through results
↑ ↓
Open selected result
Enter
Close a dialog
Esc
Show these shortcuts
?