Shortcuts

Struct Spinlock

Nested Relationships

Struct Documentation

struct ripple::Spinlock

A small spinlock implementation.

Public Functions

auto try_lock() noexcept -> bool

Tries to lock the spinlock, returning true if the lock succeded.

Return

true of the lock is successful.

auto lock() noexcept -> void

Locks the spinlock.

This will block until the lock is acquired.

auto unlock() noexcept -> void

Unlocks the spinlock.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples