Module pgrx::spinlock

source ·

Structs§

  • A Rust locking mechanism which uses a PostgreSQL slock_t to lock the data.
  • An implementation of a “scoped lock” for a PgSpinLock. When this structure falls out of scope (is dropped), the lock will be unlocked.