GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Ruby standard library `Hash`

This view

  • Original page
  • New address

GeezerVison is showing ruby-concurrency.github.io — Class: Concurrent::Hash — Concurrent Ruby

Index (H) » Concurrent » Hash

Class: Concurrent::Hash

Inherits:
HashImplementation
  • Object
  • Concurrent::Hash
show all
Defined in:
lib/concurrent-ruby/concurrent/hash.rb

Overview

A thread-safe subclass of Hash. This version locks against the object itself for every method call, ensuring only one thread can be reading or writing at a time. This includes iteration methods like #each, which takes the lock repeatedly when reading an item.

See Also:

  • Ruby standard library `Hash`
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.